Reputation: 453
I have two Jenkins jobs one is a groovy pipeline. other is a normal freestyle project with a plugin to trigger remote Jenkins. The groovy pipeline should only trigger another freestyle project after its successful build.
Upvotes: 0
Views: 799
Reputation: 37580
Use the build
step in your pipeline to trigger another build. If the pipeline failed before, it wouldn't reach that point.
Upvotes: 2