Skip to content

Trigger a new release as adding a build #521

Answered by SebastianSchuetze
abaganuv asked this question in Q&A
Discussion options

You must be logged in to vote

In Azure DevOps, build pipelines and release pipelines behave differently:

  • Build pipelines are designed to accept parameters at queue time because it's common to want to build the same codebase with different parameters. For example, you might want to build a debug version and a release version, or build for different platforms.

  • On the other hand, release pipelines are designed around the principle that a given release should be deployable to any environment without modification. This is why you can't pass parameters directly when you trigger a release.

However, there are workarounds to pass variables to a release pipeline:

  1. Using build artifacts: You can store your parameters in a…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by SebastianSchuetze
Comment options

You must be logged in to vote
1 reply
@SebastianSchuetze
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants