Takhir Mamirov
Takhir Mamirov

Reputation: 35

Create Release Candidate branch automatically

I would like to set up our DevOps processes in such a way, so Release Candidate branch would be created automatically every Mon 9AM from Dev branch, and then build/release are triggered afterwards. How can I create Git branch automatically by some schedule?

Upvotes: 0

Views: 1277

Answers (1)

jessehouwing
jessehouwing

Reputation: 114701

There is no "built-in" feature to do this, but it is easily scripted out. Once scripted, you can put that script in a Scheduled Build Pipeline. It would consist of a combination of Git commands to create the new branch and a push.

See:

Depending on your other Pipeline configurations, they could either trigger automatically based on a wildcard trigger definition (e.g. release/*) or you can use the REST API from a script in the Build Pipeline to trigger the builds programmatically.

See:

Upvotes: 1

Related Questions