Novastorm
Novastorm

Reputation: 1458

VSTS Trigger release and deployment after build

On my release definitions I have set my environment to have a release trigger so that when a build has been completed with a certain tag, a deployment starts. However after setting this up no release or deployment is started. I think I'm missing something small but can't put my finger on it....

My build tag (added automatically during a build):

enter image description here

My release trigger:

enter image description here

What setting(s) need changing to get a release and deployment fired off after my build is ready?

Upvotes: 2

Views: 3523

Answers (2)

PatrickLu-MSFT
PatrickLu-MSFT

Reputation: 51183

The screenshot is not your release trigger, it's your environment trigger.

You can configure when releases should be created, and when those releases should be deployed to environments. The former is configured through release triggers, and the latter through environment triggers - both in a release definition.

enter image description here

You can choose to have the deployment to each environment triggered automatically when a release is created by a continuous deployment trigger.

The process is changes checked in → CI build triggered → A release created → start deployment to this environment.

More details please refer this tutorial--Triggers in Release Management.

Upvotes: 6

raterus
raterus

Reputation: 2089

You need to turn on the Continuous deployment trigger under your specific build artifact.

Continuous deployment trigger

Upvotes: 6

Related Questions