Sep 23 2021
03:19 AM
- last edited on
Mar 05 2024
01:17 PM
by
TechCommunityAP
Sep 23 2021
03:19 AM
- last edited on
Mar 05 2024
01:17 PM
by
TechCommunityAP
how can I ensure that only the latest pipeline is run in the repo? I have 2 pipelines in the repo (versioning). Every time I make some changes to the code both the pipelines run . I am sure there is a way to ensure that only the latest pipeline runs. Any help or links to documentation would be appreciated
Sep 27 2021 09:14 AM
SolutionHi @AzureRanger,
It seems that you have a trigger on your pipeline to run them whenever a commit is made.
You can set one of the pipleline trigger to none as
- trigger:none
This will not execute that pipeline automatically. Read more about pipeline triggers.
If you want to use triggers to automatically run your pipeline you can use differnet branches on both the Pipelines and set trigger to differnet branches on different pipeline.
Sep 27 2021 09:14 AM
SolutionHi @AzureRanger,
It seems that you have a trigger on your pipeline to run them whenever a commit is made.
You can set one of the pipleline trigger to none as
- trigger:none
This will not execute that pipeline automatically. Read more about pipeline triggers.
If you want to use triggers to automatically run your pipeline you can use differnet branches on both the Pipelines and set trigger to differnet branches on different pipeline.