Hello,
There's a bunch of examples there:
https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+Script+Console (see the
end of the page).
Cheers
2016-08-29 15:12 GMT+02:00 kumar naresh :
>
> HI Colin,
>
> this groovy is updating/adding build perodic section in build
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:
>
>
Old post, I know, but I just came across this issue so thought I'd add my
findings. https://issues.jenkins-ci.org/browse/JENKINS-14771 looks to be
the same issue, the reason for the NPE is that while you've added the
trigger to the job you haven't told the trigger about the job. To work