Re: Setting global variables without using parameterized build in job

2014-06-11 Thread Amir Katz
Use the EnvInject plugin On Thursday, June 5, 2014 5:15:31 PM UTC+3, eric...@rocketmail.com wrote: > > Can I set global variables and then use in jobs without using > parameterized builds. This forces me into a manual response mode that does > not work in my scenario. > > Thanks, Eric > -- Yo

Need a groovy script to list all builds queued for a project

2014-06-09 Thread Amir Katz
I need to get the list of all future (queued) builds of a specific project. My first course was the REST API (http://my-ci-server/job/my-job/api/json), but it only shows the current executing build and the next one to be executed. The rest of the queue is not returned by the API. In the web UI,