You can create a Release pipeline to run your test job and configure invoke rest api
Gate to check if all the pipeline were completed. See below steps:
1, Create a release pipeline.
2, Add all the artifacts from the other pipelines as the release pipeline Artifacts source. So that the pipeline will be triggered when there is any new version of artifact being published.
3,Create a generic service connection to connect to your azure devops organization. See this thread for detailed steps.
4, Configure invoke rest api Gate for the release pipeline. See below screenshot.
5, Configure the invoke rest api gate to call Build-latest rest api to get the latest build of the other dependency pipeline. See below screen:
6, Add multiple invoke rest api gate one for each of your dependency pipelines
7, Configure the evaluation option for the Gate.
After above configurations, the release pipeline will be executed if all the pipeline is evaluated to be completed and succeeded.
To decide which image version to use, you can clone your source code in the release pipeline and run below git command to check which folders are changed. Then you can decide which images are to use. Please see this thread for more information.
git diff HEAD HEAD~ --name-only
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…