Re: How to distinguish which build trigger to kick off the build

2016-04-20 Thread Olli Sivonen
Hi, Jenkins generates environment variable BUILD_CAUSE for each build that contains the information you seek. The values are something like 'UPSTREAMTRIGGER', 'SCMTRIGGER', 'TIMERTRIGGER', and so forth. Also, if you have Conditional BuildStep Plugin

Re: How to set the upstream job build status based on downstream build status.

2015-08-06 Thread Olli Sivonen
Hello, Sorry to reply to such an old post, but this is relevant to my current situation, and as I'm unable to find any other relevant discussion around this issue, I'm inclined to continue here instead of making a new topic. I'm trying to achieve the following: Non-blocking downstream build