checkStage with tag between pipelines #1309
-
I'm trying to understand if I can get the changes between successful runs of different pipelines. Same repo but different pipelines. The case I have is a release pipeline and a hotfix pipeline, both are tagged with release. It works fine between successive runs of the same pipeline but hotfix doesn't seem to recognise the release tag on the release pipeline and instead pulls the whole history in since the first available run. Is this possible? Config:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The simple answer is you can't compare two different pipelines. The task relies on calls to the Azure DevOps REST API and shows the differences between runs of the same pipeline definition. To deliver what you are asking for would be a complete rewrite. To turn the question around, why do you have different pipelines for Hotfix and Release? Could you not have a single pipeline and use conditional insertion logic to enable or disable stages that should be bypassed for one or other release type. This is the technique I try to use as it means only one YAML pipeline to maintain, and ensures all my means of release pass through the same gates. |
Beta Was this translation helpful? Give feedback.
The simple answer is you can't compare two different pipelines.
The task relies on calls to the Azure DevOps REST API and shows the differences between runs of the same pipeline definition. To deliver what you are asking for would be a complete rewrite.
To turn the question around, why do you have different pipelines for Hotfix and Release?
Could you not have a single pipeline and use conditional insertion logic to enable or disable stages that should be bypassed for one or other release type.
This is the technique I try to use as it means only one YAML pipeline to maintain, and ensures all my means of release pass through the same gates.