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? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d56aad0c-799c-478d-8c96-e7d6f34984a9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.