git-plugin
git-plugin copied to clipboard
[JENKINS-71026] Commit ID does not work as Branch Specifier for Pipeline jobs
We always used freestyle projects and there we can specifiy the commitId as the branch specifier. This works. However when using a pipeline job, this does not work. The documentation says this should be possible, but it does not work:


When doing this as a freestyle project, it correctly gets the commit:

Originally reported by riwerf, imported from: Commit ID does not work as Branch Specifier for Pipeline jobs
- status: Open
- priority: Minor
- component(s): git-plugin
- resolution: Unresolved
- votes: 1
- watchers: 2
- imported: 2025-12-02
Raw content of original issue
We always used freestyle projects and there we can specifiy the commitId as the branch specifier. This works. However when using a pipeline job, this does not work. The documentation says this should be possible, but it does not work:
When doing this as a freestyle project, it correctly gets the commit:


