-
Task
-
Resolution: Fixed
-
Minor
-
None
-
Latest Jenkins version: 2.46.2, latest codedeploy-plugin, open-jdk 1.7.0_111
Following the steps for: Using AWS CodeBulid with source only available inside of your VPC
Manual build from AWS console, it works successful, source code checkout from git is ok, but when starting build phase with codebuild, I got following error. IAM permission checked with full access.
// code placeholder java.lang.RuntimeException: Unable to extract S3 bucket from object ARN. at Utils.getS3BucketFromObjectArn(Utils.java:24) at CodeBuilder.perform(CodeBuilder.java:132) at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) at hudson.model.Build$BuildExecution.build(Build.java:206) at hudson.model.Build$BuildExecution.doRun(Build.java:163) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) at hudson.model.Run.execute(Run.java:1728) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:405) Build step 'Run build on AWS CodeBuild' marked build as failure Finished: FAILURE