Hi,
I am building a pipeline in Jenkins 2.36 with the pipeline plugin. I have some jobs to execute.
To call the job I use: build job: 'transformInput', parameters: [string(name: 'cert_request', value: ''), string(name: 'cert_signature', value: ''), string(name: 'public_cert', value: '')], all works fine
But now I have to check whether the job was successful or not. When it ended successful, another job (e.g. JOB2) should be built. When it failed, job JOB3 should be built.
How can I perform this "if" with the pipeline plugin?