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

1 view
Skip to first unread message

bhagyashri.sarbhukan@gmail.com (JIRA)

unread,
Oct 2, 2018, 3:43:02 PM10/2/18
to jenkinsc...@googlegroups.com
Bhagyashri Sarbhukan updated an issue
 
Jenkins / Bug JENKINS-53878
Can not script AWS code pipeline through Job dsl plugin
Change By: Bhagyashri Sarbhukan
Summary: Can not script AWS code pipeline through Groovy DSL Job dsl plugin
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

bhagyashri.sarbhukan@gmail.com (JIRA)

unread,
Oct 2, 2018, 3:43:03 PM10/2/18
to jenkinsc...@googlegroups.com
Bhagyashri Sarbhukan updated an issue
There is no Groovy explicit support for the AWS code pipeline, however Groovy Job DSL plugin manages to generate some from Java,

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

 

The generated API documentation is only for "[awsCodePipelineSCM|https://tco-test-jenkins-ext-elb-195224482.eu-west-1.elb.amazonaws.com/plugin/job-dsl/api-viewer/index.html#method/javaposse.jobdsl.dsl.helpers.ScmContext.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.

 

bhagyashri.sarbhukan@gmail.com (JIRA)

unread,
Oct 2, 2018, 3:44:04 PM10/2/18
to jenkinsc...@googlegroups.com
Bhagyashri Sarbhukan updated an issue
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|https://tco-test-jenkins-ext-elb-195224482.eu-west-1.elb.amazonaws.com/plugin/job-dsl/api-viewer/index.html#method/javaposse.jobdsl.dsl.helpers.ScmContext.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.

 

mail@daniel-spilker.com (JIRA)

unread,
Jan 4, 2019, 4:53:07 PM1/4/19
to jenkinsc...@googlegroups.com
Daniel Spilker updated an issue
 
Jenkins / Improvement JENKINS-53878
Change By: Daniel Spilker
Issue Type: Bug Improvement
Priority: Major Minor

mail@daniel-spilker.com (JIRA)

unread,
Jan 4, 2019, 4:55:02 PM1/4/19
to jenkinsc...@googlegroups.com
Daniel Spilker commented on Improvement JENKINS-53878
 
Re: 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.

mail@daniel-spilker.com (JIRA)

unread,
Jan 4, 2019, 4:56:02 PM1/4/19
to jenkinsc...@googlegroups.com

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

mail@daniel-spilker.com (JIRA)

unread,
Aug 21, 2019, 9:19:03 AM8/21/19
to jenkinsc...@googlegroups.com
Daniel Spilker assigned an issue to Felipe Almeida
 
Change By: Daniel Spilker
Assignee: David Nasi Felipe Almeida
Reply all
Reply to author
Forward
0 new messages