I am very new to Jenkins.
There are multiple jobs already configured in Jenkins, As of now we are running all the jobs manually one after the other. I want to make it a single job by pipeline plugin, So that manual effort is reduced.
I had gone through the links, It states we should have JenkinsFile in our repository it basically contains command's to execute the different tasks.
But if i am configuring it in JenkinsFile how can give the existing job names ?
Is it the only way to do a pipeline or is there any other way to achieve this ?
Ex : I have three jobs
- build-dev-code
- test-dev-code
- deploy-stage
I would like to pipeline all the three jobs,
deploy-stage-ci
So that it contains all the 3 above mentioned jobs.