Re: Jenkins 2.24: Question about scm code change condition during build execution

2016-10-18 Thread Teichner Peter
Hi Rachel, Thanks for your answer. No that's not it. I'm running a pipeline but it could be manual execution as well and basically I want the ability the say my shell script is conditional and should only run if there was a change in the source. Regardless of how the build was triggered.

Re: Jenkins 2.24: Question about scm code change condition during build execution

2016-10-18 Thread Rachel
Hi Teichner, I don't know if I've understood you correctly, but I usually configure my jobs with: - Build Triggers > Poll SCM With this option you specify when you want to check your SCM (e.g. hourly, every 2 hours, ...) and a new build is executed *only if changes are detected from the

Jenkins 2.24: Question about scm code change condition during build execution

2016-10-18 Thread Teichner Peter
I'm trying to find the right solution for using a conditional multiple build step depending if there was a code change. I have seen a solution by checking ROOT_BUILD_CAUSE but that might be unreliable as the execution could be manually triggered but there could still be code change. I need this