Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-53878

Can not script AWS code pipeline through Job dsl plugin

      There is no Groovy explicit support for the AWS code pipeline, however Job DSL plugin manages to generate dynamically some from Java,

      https://<<JENKINS_URL>>/plugin/job-dsl/api-viewer/index.html#plugin/aws-codepipeline

       

      The generated API documentation is only for "awsCodePipelineSCM". It however does not generate any documentation for "awsCodePipelinePublisher".  This makes the plugin unusable via Groovy DSL.

      I appreciate if you can share even a work around for this.

       

          [JENKINS-53878] Can not script AWS code pipeline through Job dsl plugin

          AWSCodePipelinePublisher needs to define a DataBoundConstructor with a List<OutputArtifact> constructor to be able to be used in Job DSL.

          Daniel Spilker added a comment - AWSCodePipelinePublisher needs to define a DataBoundConstructor with a List<OutputArtifact> constructor to be able to be used in Job DSL.

          A Configure Block can be used to generate any config that is neither supported by built-in DSL or dynamic DSL.

          Daniel Spilker added a comment - A Configure Block can be used to generate any config that is neither supported by built-in DSL or dynamic DSL.

            fgalmeida Felipe Almeida
            bhagyashri Bhagyashri Sarbhukan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: