• Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • codedeploy-plugin
    • None
    • Jenkins: 2.23
      CodeDeploy Plugin: 1.12
      AWS SDK (working): 1.10.50
      AWS SDK (error): 1.11.37

      Error after AWS SDK update

      Zipping files into

      {filename}.zip
      Uploading zip to s3://{bucket}/{filename}

      .zip
      Registering revision for application '

      {appname}

      ERROR: Step ‘Deploy an application to AWS CodeDeploy’ aborted due to exception:
      java.lang.NoSuchMethodError: com.amazonaws.services.codedeploy.AmazonCodeDeployClient.registerApplicationRevision(Lcom/amazonaws/services/codedeploy/model/RegisterApplicationRevisionRequest;)V
      at com.amazonaws.codedeploy.AWSCodeDeployPublisher.registerRevision(AWSCodeDeployPublisher.java:388)
      at com.amazonaws.codedeploy.AWSCodeDeployPublisher.perform(AWSCodeDeployPublisher.java:226)
      at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:32)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
      at hudson.model.Build$BuildExecution.post2(Build.java:185)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
      at hudson.model.Run.execute(Run.java:1745)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:404)
      Finished: FAILURE

          [JENKINS-38474] Error after updating AWS SDK to 1.11.37

          This required upgrading the AWS lib version plugin. Created a pull request https://github.com/awslabs/aws-codedeploy-plugin/pull/67

          Tridib Samanta added a comment - This required upgrading the AWS lib version plugin. Created a pull request https://github.com/awslabs/aws-codedeploy-plugin/pull/67

          David Chou added a comment -

          just noted here, the plugin build from westside in that link above installs version (1.12-SNAPSHOT (private-5c9182fc-westside) of CodeDeploy plugin and it indeed fixes the issue until this is officially available.

          David Chou added a comment - just noted here, the plugin build from westside in that link above installs version (1.12-SNAPSHOT (private-5c9182fc-westside) of CodeDeploy plugin and it indeed fixes the issue until this is officially available.

          Oleg Nenashev added a comment -

          Reassigned the issue to jmcfar according to his comment in JENKINS-50974

          Oleg Nenashev added a comment - Reassigned the issue to jmcfar according to his comment in JENKINS-50974

            jmcfar Josh McFarlane
            raphaelcouto Raphael Couto
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: