Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[JENKINS-48061] Allow retrieve of a commit hash with no known branch or tag association #557
referenced this pull request
Dec 1, 2017
I ran a test drive with this change and it was unable to find a non-tip revision that is in my pipeline shared library. I'm chasing more details currently. I'm glad it resolves the automated test, but I think additional changes will be needed before it will resolve the case described in JENKINS-48061
So this is not how I want to fix this. There will be secondary issues as the hash will be treated as a branch name and cause knock-on issues elsewhere.
The correct non-hack fix will require adding a concrete SCMHead implementation class (actually two of them) and will also enable additional functionality to be deliverable by extension plugins
BTW use the GH “request changes” gesture as appropriate.
Potentially. In the observed use case of