How to run sequential jobs on the same Slave

2018-02-10 Thread Alex 2013
My requirement is as below: 1) Two jobs A, B 2) After A is succeed, we will run B 3) A is the preparation step for B so that we would like to run B on the same Slave/node 4) We would like to have a manage job for A/B, once A or B failed, the manage job will fail, only when both A/B succeed, t

How to run sequential jobs on the same Slave

2018-02-10 Thread Alex 2013
My requirement is as below: 1) Two jobs A, B 2) After A is succeed, we will run B 3) A is the preparation step for B so that we would like to run B on the same Slave/node 4) We would like to have a manage job for A/B, once A or B failed, the manage job will fail, only when both A/B succeed, t

Re: How to run sequential jobs on the same Slave

2018-02-10 Thread Alex 2013
for example, job A is for build/deploy, job B is for testing. they may be owned by different teams and we want to make it easy to differentiate possible error owners for the whole process On Saturday, February 10, 2018 at 12:18:18 PM UTC-8, Alex 2013 wrote: > > My requirement is as below

How can I write pipeline script to trigger a job and parameters from property files

2018-02-14 Thread Alex 2013
I have a jenkins pipeline and I want to have a post-build action which will trigger another job. That job is using parameters from property files. I wonder how I write this in the pipeline definition For example, below is trigger the job with a String parameter named 'systemna