0

I have a Jenkins build job with Source Code Management > GIT > Repository URL: https://GitHub_repo_url/branch_name

this will pull the the HEAD revision out of the branch.

How can I pull code of specified revision?

torek
  • 448,244
  • 59
  • 642
  • 775
Heinz
  • 913
  • 4
  • 12
  • 22
  • Just below where you put the URL you can choose a branch or commit. But.. why? – Gaël J Sep 23 '21 at 19:46
  • see https://stackoverflow.com/questions/5243593/how-to-trigger-a-build-only-if-changes-happen-on-particular-set-of-files, I have a comment in peritus' answer – Heinz Sep 23 '21 at 20:28

0 Answers0