Adding some more details below. Basically, If the smoke test fails then
next step is triggers rollback job. I think this looks good, but just need
to test it. Any updates on to make this step better would be appreciated.
stage('Smoke Test') {
steps {
script {
git
Hi,
I have a build step in jenkinsfile as smoke test. I would like to see if
that smoke test fails then trigger another jenkins job. Basically, I have a
rollback jenkins job that is not part of the pipeline, but in pipeline If
my smoke test fails then it triggers my rollback jenkins job.
Any