Add a new job to an existing GoCD stage
Now that we have a pipeline with stage(s), we can add more jobs to any of the existing stages. You can now use the tree navigation on the left side of the screen to edit a stage or a job under a pipeline.
- Click on the stage name that you want to edit on the tree as shown below.
- Click on the Jobs tab
- Click on “Add new job”
- Fill job name and job details
- Fill in the details for the initial task belonging to this job. You can edit this job later to add more tasks
- You can choose the type of the task as required.
- For task types Ant, Nant and Rake, the build file and target will default as per the tool used. For example, Ant task, would look for build.xml in the working directory, and use the default task if nothing is mentioned.
- Click “Save”