I'm attempting to configure a release pipeline in Azure DevOps (on premises) to support a git-flow strategy. What I'm trying to achieve:
So when I do a git-flow 'start release' the software is made available for testing/QA and when I 'finish release' it's made available to users.
My build pipeline works fine, it's triggered by the release branch and concludes with a Publish Artifact task. My release pipeline uses this artifact and has stages for QA and Production but the Production stage never triggers. For QA I've got an artifact filter for 'release/*' and on Production for 'master'.
Is there a way to trigger my second release pipeline stage on a commit to 'master'?
As a general flow this won't work unfortunately. When you commit to release branch your building from release branch. When you commit to master branch you will have to build again for an artifact to be oriented from a master commit.
You'll either need to be happy with:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With