Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42045

When presented with a tag, Pipeline Multibranch errors with "Could not determine exact tip revision of <tag>"

    Details

    • Similar Issues:

      Description

      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:
      https://github.com/jenkinsci/git-plugin/pull/407
      https://github.com/jenkinsci/git-client-plugin/pull/234

      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

        Attachments

          Issue Links

            Activity

            evildeece Alastair D'Silva created issue -
            Hide
            evildeece Alastair D'Silva added a comment -

            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.

            Show
            evildeece Alastair D'Silva added a comment - 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.
            Show
            evildeece Alastair D'Silva added a comment - fixed by https://github.com/jenkinsci/workflow-multibranch-plugin/pull/55
            Hide
            stephenconnolly Stephen Connolly added a comment -

            Alastair D'Silva 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

            Show
            stephenconnolly Stephen Connolly added a comment - Alastair D'Silva 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
            Hide
            evildeece Alastair D'Silva added a comment -

            Thanks for the review, I'll investigate on Monday when I get back to work.

            Show
            evildeece Alastair D'Silva added a comment - Thanks for the review, I'll investigate on Monday when I get back to work.
            Hide
            evildeece Alastair D'Silva added a comment -

            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.

            Show
            evildeece Alastair D'Silva added a comment - 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.
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue duplicates JENKINS-33445 [ JENKINS-33445 ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Duplicate [ 3 ]
            stephenconnolly Stephen Connolly made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                evildeece Alastair D'Silva
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: