Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
295 views
in Technique[技术] by (71.8m points)

git - Trigger Build (CI) pipeline from Release (CD )pipeline?

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...


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...