Create a pipeline that deploys an artifact and runs your API tests.
Procedure
- In your Azure DevOps project, go to Pipelines > Releases.
-
Click New pipeline, then click Empty
job in the right panel.
-
A first stage is automatically created. Enter a name, Deploy to
Staging for example, and close the panel.
You will configure this stage in the next procedure.
- Click Add an artifact and select Build as a source type.
- Select your build pipeline and click Add.
- Optional:
Click the lightning icon and enable the continuous deployment trigger.
With this option, a new release pipeline is created each time the build pipeline is updated. If you do not enable this option, the release pipeline will have to be started manually.