Set Specefic Branch When Job Build periodically In Jenkins

107 views Asked by At

My git Repository is Azure Dev-ops and I use Jenkins for Continuous Integration Build and I Use TFS Plugin for Jenkins.

I Use Pipeline for Build my project on Jenkins. I Want Jenkins can build my develop branch on midnight so i set Build Build periodically to @midnight but Jenkins Build the last branch was built. I want Jenkins to Build develop branch. Is There any Way that I can set Branch in Build periodically?

1

There are 1 answers

1
Fransiskus Andika Setiawan On

You can set wit build periodicaly with crontab, link for make crontab --> https://crontab.guru/