Re: Unable to get NodeName in pipelines for WorkflowJob

2017-03-16 Thread Zeeshan Maqbool
anyone got ideas ? On Monday, March 6, 2017 at 6:17:12 PM UTC-8, Zeeshan Maqbool wrote: > > Simplified code which is easier to read : > > def mJenJobs = jenkins.model.Jenkins.getActiveInstance()..getAllItems() > def mJenJobsSize = mJenJobs.size() > def mResult = [] as Set

Re: Unable to get NodeName in pipelines for WorkflowJob

2017-03-06 Thread Zeeshan Maqbool
on 2 } } On Monday, March 6, 2017 at 4:33:52 PM UTC-8, Zeeshan Maqbool wrote: > > Setup - Latest Jenkins with pipeline job set to run from MultiBranch > Pipeline (bitbucket) > Library Function - Its replacing the block plugin where you can specify > when this job should wait for

Re: Unable to get NodeName in pipelines for WorkflowJob

2017-03-06 Thread Zeeshan Maqbool
/plugins/workflow/job/WorkflowJob.html#getLastBuiltOn-- On Monday, March 6, 2017 at 4:33:52 PM UTC-8, Zeeshan Maqbool wrote: > > Setup - Latest Jenkins with pipeline job set to run from MultiBranch > Pipeline (bitbucket) > Library Function - Its replacing the block plugin where you can spe

Unable to get NodeName in pipelines for WorkflowJob

2017-03-06 Thread Zeeshan Maqbool
Setup - Latest Jenkins with pipeline job set to run from MultiBranch Pipeline (bitbucket) Library Function - Its replacing the block plugin where you can specify when this job should wait for other jobs running on a node I havent seen issues with other functions but I am unable to get NodeName