-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fetch-depth:0 ignores ref and always checkout default branch #648
Comments
Afterwards is working as expected... Forced a checkout in next step and confirmed that everything is as expected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When defining fetch-depth: 0 the default branch is checked out instead of defined ref:
If you look into fetch full history and checkout stable branch logs in following job, you will see that checkout never checkout the defined ref:
https://github.com/indigo-dc/jenkins-pipeline-library/runs/4412283735?check_suite_focus=true
The text was updated successfully, but these errors were encountered: