1. In Jenkins I have a 3 jobs like env , uat , prod Case 1 If trigger a job 'env', based on condition it go-to 'uat 'job and trigger job Case2 trigger a job 'env', based on condition it go-to 'prod' job and trigger job How to write job freestyle or pipeline? A. Install build pipe line plugin Then click on plus symbol in that view name give Buildpipelinetest select .Build Pipeline View then click on ok. under select Upstream / downstream config Select Initial Job as env Then next select similarly uat and next prod then these three will be chain linked and each one build one by one if one becomes success.
Comments
Post a Comment