pipeline SCM settings

2018-09-09 Thread TAO ZHOU
I'm trying to set includedRegions for SCM hooks to trigger a build on. I create something like this: checkout([ $class: 'SubversionSCM', browser: [$class: 'Phabricator', repo: 'C', url: 'https://reviews.acme.com/'], filterChangelog: true, ignoreDirPropChanges: fal

How to schedule and trigger jobB daily only once @6:00 am if jobA last build is success

2018-09-09 Thread stackoverflowuser2018
I would like to know the configuration to initiate jobB daily only once if the jobA last build is successful. I tried jobB configuration build trigger (setting jobA last stable buil) and scheduler every day 6:00 AM. However I can see that jobB is triggered not only once everytime jobA built suc

How do you evaluate the risk of allowing a particular static method call in a pipeline?

2018-09-09 Thread David Karr
When I try to call a static method in a pipeline script that doesn't have an existing script approval, I get an exception, which requires a script approval. What exactly is the risk involved here? How does someone evaluate the risk of calling a particular static method? For instance, I needed