I know it is unconventional to trigger build pipeline from release pipeline, but in my case that is my need. In Azure DevOps I have a build pipeline that triggers release pipeline, then once all of the stages are done in my release, I would like to trigger another build pipeline. That build pipeline will be responsible to update a json file in my git repo. To be able to access the git repo and make changes/commit, I need to use a build pipeline. I have a workaround that clones the git repo in release pipeline and does the update, but that doesn't "feel right". I am hoping to find a better solution.
Note: In git commit message I will have [skip ci]
, so there won't be an infinite loop of triggers or pipelines...
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…