Status: Closed (View Workflow)
Pipeline Multibranch 2.12
Git 3.0.6-SNAPSHOT (with patches for tags)
Git Client 2.3.0-SNAPSHOT (with patches for tags)
When presented with a tag instead of a branch, Pipeline Multibranch errors the pipeline with:
"Could not determine exact tip revision of <tag name here>"
The following PRs are required to reproduce:
Enable "Show tags in SCMSource" in the "Git Plugin" global config
Create a multibranch pipeline pointing at a git repo with tags
Run the pipeline for a tag
JENKINS-33445 GitScmSource does not return tags via retrieve method
evildeece so how your PR against the Git plugin implements tag support is not correct, as a result I think you have downstream issues. If you were implementing tag support correctly then this should not be an issue
Thanks for the review, I'll investigate on Monday when I get back to work.
I've reworked https://github.com/jenkinsci/git-plugin/pull/407 to present an implementation of TagSCMHead for each tag, and the problem persists.
I'll clean up my work on the git-plugin and resubmit to https://github.com/jenkinsci/git-plugin/pull/407 shortly.
|Field||Original Value||New Value|
|Link||This issue duplicates JENKINS-33445 [ JENKINS-33445 ]|
|Resolution||Duplicate [ 3 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
Note that this works for the Multibranch Project plugin - this is a blocker for us migrating away from that (which seems less supported these days) and towards pipelines.