Re: Moving a job to a Folder

2016-06-09 Thread kumar naresh
example "echo hi" in first line using groovy script . Regards, kumar On Thursday, June 9, 2016 at 11:44:46 AM UTC+5:30, Sverre Moe wrote: > > Try the Groovy Postbuild Plugin > You could also use the build step "Execute system Groovy script" > > torsdag 9.

Re: Moving a job to a Folder

2016-06-07 Thread kumar naresh
kinsInstance = jenkins.model.Jenkins.getInstance() > def newProject = jenkinsInstance.createProject(Folder.class, > "my-folder-project") > > > mandag 6. juni 2016 15.17.13 UTC+2 skrev kumar naresh følgende: >> >> Hi Daniel, >> >> could you please let me know exactly how to creat

Re: Moving a job to a Folder

2016-06-06 Thread kumar naresh
Hi Daniel, could you please let me know exactly how to create a jenkins folder job using groovy script. Regards, Naresh. On Friday, August 21, 2015 at 12:42:40 AM UTC+5:30, Daniel Serodio wrote: > > We use this Groovy script to move jobs to folders, maybe you can use it as > a starting point

Re: Moving a job to a Folder

2016-06-09 Thread kumar naresh
import com.cloudbees.hudson.plugins.folder.Folder > > def jenkinsInstance = jenkins.model.Jenkins.getInstance() > def newProject = jenkinsInstance.createProject(Folder.class, > "my-folder-project") > > > mandag 6. juni 2016 15.17.13 UTC+2 skrev kumar naresh følgende: >> >&

Re: NullPointerExceptions after adding TimerTrigger via groovy script.

2016-08-29 Thread kumar naresh
HI Colin, this groovy is updating/adding build perodic section in build triggers section. can you please share the script to update poll scm section in build triger section via groovy script. Regards, Raju. On Wednesday, October 29, 2014 at 2:27:47 PM UTC+5:30, Colin McIntyre wrote: > >

Re: Jenkins Pipeline Plugin - how to inject global passwords?

2017-04-03 Thread kumar naresh
Hi, please help to get the global passwords list from jenkins using the groovy scripting. Regards, kumar. On Monday, April 25, 2016 at 3:25:14 PM UTC+5:30, Harry G. wrote: > > Please note: Credentials Binding works, but currently it is not possible > to mask passwords in the log with this