Re: Moving a job to a Folder

2017-11-24 Thread Muthu Kumaran
Sure Victor, you can put this in a separate thread. I was expecting a solution for this issue. Even any relevant articles would be good. On Friday, November 24, 2017 at 12:34:57 AM UTC+5:30, Victor Martinez wrote: > I guess, this is something outside of what this particular topic was > about.

Re: Moving a job to a Folder

2017-11-23 Thread Victor Martinez
I guess, this is something outside of what this particular topic was about. Maybe it's worth raising this question in another new thread? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails

Re: Moving a job to a Folder

2017-11-23 Thread Muthu Kumaran
> > Hi, > I am trying to add users to a folder group in Jenkins. Can anyone let me know how to accomplish this via groovy script. 1. List the folder 2. List the groups in the folder 3. Add user to the folder group. Your help is much appreciated. Thanks in Advance. Muthu -- You received

Re: Moving a job to a Folder

2016-06-09 Thread kumar naresh
HI Sverre, thanks for reply where I'm actually trying to execute groovy script from manage jenkins->manage nodes->master->script console and cloning new jobs using existing jenkins jobs using groovy script and also I wanted to add extra one step to execute shell to new jobs i.e for example

Re: Moving a job to a Folder

2016-06-09 Thread Sverre Moe
Try the Groovy Postbuild Plugin You could also use the build step "Execute system Groovy script" torsdag 9. juni 2016 08.05.39 UTC+2 skrev kumar naresh følgende: > > > Hi Sverre Moe, > > > thanks that works really good. > > I'm actually trying to add build step to execute shell existing jenkins

Re: Moving a job to a Folder

2016-06-09 Thread kumar naresh
Hi Sverre Moe, thanks that works really good. I'm actually trying to add build step to execute shell existing jenkins job using groovy script, let me know if there any steps to do so. Regareds, kumar. On Monday, June 6, 2016 at 7:02:47 PM UTC+5:30, Sverre Moe wrote: > > import

Re: Moving a job to a Folder

2016-06-07 Thread kumar naresh
thanks that works really good and let me know how can we create view inside the jenkins folder job using groovy script. On Monday, June 6, 2016 at 7:02:47 PM UTC+5:30, Sverre Moe wrote: > > import com.cloudbees.hudson.plugins.folder.Folder > > def jenkinsInstance =

Re: Moving a job to a Folder

2016-06-06 Thread Sverre Moe
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: > > Hi Daniel, > > could you please let

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

2015-08-21 Thread Khai Do
We are working to add cloudbees folder support to the python-jenkins package (https://python-jenkins.readthedocs.org/en/latest/) that will allow you to automate management (create/update/move/etc..) of folders. The change is under review right now (https://review.openstack.org/#/c/180185/)

Re: Moving a job to a Folder

2015-08-20 Thread Daniel Serodio
We use this Groovy script to move jobs to folders, maybe you can use it as a starting point for your needs: ### def FOLDER_NAME = 'Destination folder' def JOB_REGEX = 'Regex to match your jobs' import jenkins.* import jenkins.model.* import hudson.* import

Re: Moving a job to a Folder

2015-08-15 Thread Stephen Connolly
What I said: 1. You can use a groovy script right now. Will do exactly what you need. Some research required. 2. Oh look some synchronicity, I happen to have just been working on some stuff that would do this for a bigger set of problems... Sadly the stuff I was working on is for our paid

Re: Moving a job to a Folder

2015-08-15 Thread Stephen Connolly
On Saturday, August 15, 2015, Vanetta Floyd vanettafl...@gmail.com wrote: Please accept my apologies for misunderstanding the answer you provided, No worries, it may have been less than entirely clear due to being composed on a phone as well as the purpose of this board. To be clear,

Re: Moving a job to a Folder

2015-08-15 Thread Vanetta Floyd
Please accept my apologies for misunderstanding the answer you provided, as well as the purpose of this board. On Aug 14, 2015 3:00 PM, Stephen Connolly stephen.alan.conno...@gmail.com wrote: You could use a groovy script. Other than that you are SOoL For CloudBees Jenkins Platform I have just

Re: Moving a job to a Folder

2015-08-14 Thread Stephen Connolly
You could use a groovy script. Other than that you are SOoL For CloudBees Jenkins Platform I have just implemented move/copy functionality for use within/between masters, and that functionality comes with Jenkins CLI support so you could use shell scripting with that *if you are a CloudBees

Re: Moving a job to a Folder

2015-08-14 Thread Vanetta Floyd
Thanks...not interested in commercials for that product. I'm interested in what the open source community has to say. Will all people asking questions going forward be spammed with plugs for that product? On Aug 14, 2015 10:48 AM, VFloyd vanettafl...@gmail.com wrote: Any ideas on how to move

Re: Moving a job to a Folder

2015-08-10 Thread Gergely Brautigam
Hi Dan. It's simple. On the Job, on the Left side, you see this option = https://jay.chemaxon.com/job/trunk_naming_dict_n2s/move Move https://jay.chemaxon.com/job/trunk_naming_dict_n2s/move Click on that, and select the directory in which you would like to move the job. This will also

Moving a job to a Folder

2015-08-06 Thread Daniel Laird
All, I amusing the cloudbees plugin that creates folders. I am now trying to move some jobs that are currently in a 'view' into a folder. I can easily query and list all the jobs in a view in groovy but I am struggling to move the job into a folder. I have tried various methods - if anyone has