To ensure the deployment job runs automatically after the packaging job, create a
pipeline and set the dependency.
- In the
left navigator, click
Builds
.
- Click the Pipelines tab.
- Click + Create Pipeline.
- In the Create Pipeline dialog box, in Name and
Description, enter a unique name and
description.
- Click Create.
- On the Pipeline Configuration page, right-click the Start node and select Add New Start jobs.
- Click in the Select new on success job(s) field, select the packaging job and click Save.
- Right-click the packaging job and select Add, then Add New On Success Jobs.
- Click in the Select new on success job(s) field, select the deployment job, and click Save.
Here's an example of the final pipeline:
- Click Save.