How to set "configure release build" in Jenkins organization?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

How to set "configure release build" in Jenkins organization?

moonlightfil
I am using Jenkins organization for my pipeline jobs. and I want to add release plug into one of the jobs. as you know we can't change the configuration in organization job. the only way can do this is using groovy method. but I can't find any useful method for this. 

any suggestion will be appreciate. 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/9cd8cbec-424a-439d-ac27-91acd975bb9d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to set "configure release build" in Jenkins organization?

Ramanathan Muthaiah
I am using Jenkins organization for my pipeline jobs. and I want to add release plug into one of the jobs. as you know we can't change the configuration in organization job. the only way can do this is using groovy method. but I can't find any useful method for this. 

any suggestion will be appreciate. 

There are tons of Groovy scripts here, https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console

You could probably pick up hints from here. Please use them with caution and due diligence.

/Ram 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/f44262f9-29ac-4ebc-bc7d-28ab0bc65796%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to set "configure release build" in Jenkins organization?

moonlightfil
do you mean to update the jenkins, and to add the release plugin configuration part to organization? 

On Thursday, December 7, 2017 at 11:04:13 AM UTC+8, Ramanathan Muthaiah wrote:
I am using Jenkins organization for my pipeline jobs. and I want to add release plug into one of the jobs. as you know we can't change the configuration in organization job. the only way can do this is using groovy method. but I can't find any useful method for this. 

any suggestion will be appreciate. 

There are tons of Groovy scripts here, <a href="https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwiki.jenkins.io%2Fdisplay%2FJENKINS%2FJenkins%2BScript%2BConsole\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFOi0ycFIDyJLnq_f-7j_yWDBGy4g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwiki.jenkins.io%2Fdisplay%2FJENKINS%2FJenkins%2BScript%2BConsole\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFOi0ycFIDyJLnq_f-7j_yWDBGy4g&#39;;return true;">https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console

You could probably pick up hints from here. Please use them with caution and due diligence.

/Ram 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/48f34c1e-fe15-4b6f-a7f8-81b69821242b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to set "configure release build" in Jenkins organization?

moonlightfil
In reply to this post by Ramanathan Muthaiah
and is there any other safe way to do this? 

On Thursday, December 7, 2017 at 11:04:13 AM UTC+8, Ramanathan Muthaiah wrote:
I am using Jenkins organization for my pipeline jobs. and I want to add release plug into one of the jobs. as you know we can't change the configuration in organization job. the only way can do this is using groovy method. but I can't find any useful method for this. 

any suggestion will be appreciate. 

There are tons of Groovy scripts here, <a href="https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwiki.jenkins.io%2Fdisplay%2FJENKINS%2FJenkins%2BScript%2BConsole\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFOi0ycFIDyJLnq_f-7j_yWDBGy4g&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwiki.jenkins.io%2Fdisplay%2FJENKINS%2FJenkins%2BScript%2BConsole\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFOi0ycFIDyJLnq_f-7j_yWDBGy4g&#39;;return true;">https://wiki.jenkins.io/display/JENKINS/Jenkins+Script+Console

You could probably pick up hints from here. Please use them with caution and due diligence.

/Ram 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/84788c0a-2c80-465e-a112-61c2e705aad3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: How to set "configure release build" in Jenkins organization?

Victor Martinez
Although I don't use that particular plugin though, but let me suggest you  the below details, IIUC, release plugin version 2.7 is already pipeline supported (https://issues.jenkins-ci.org/browse/JENKINS-40765), and https://github.com/jenkinsci/release-plugin/pull/22/files#diff-aae73a6d0c98dc3b43a66016a4110c2dR37 is just an example of the release step.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/73494058-62ab-4bd7-9edf-9c963abfff62%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.