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

Build status URL for tag builds sent through as refs/heads/refs/tags/<tagname>

      Steps to reproduce:

      • Setup a new freestyle job with no branch specifier and a push trigger
      • Create and push a tag to the repository (e.g. `newTag`)

      Expected:

      A build status is created and sent to Bitbucket with an identifier `refs/tags/newTag`

      Actual:

      The identifier instead is `refs/heads/refs/tags/newTag`

          [JENKINS-71289] Build status URL for tag builds sent through as refs/heads/refs/tags/<tagname>

          Karthik added a comment - - edited

          Update:

          If it is a freestyle Jenkins project, the tags ref identifier is updated as refs/heads/refs/tags/<<tag_name>>  and if it is a multi-branch pipeline project than it is updated as refs/heads/<tagname> instead of refs/tags/<tagname>.

           

          Karthik added a comment - - edited Update: If it is a freestyle Jenkins project, the tags ref identifier is updated as refs/heads/refs/tags/<<tag_name>>   and if it is a multi-branch pipeline project than it is updated as refs/heads/<tagname> instead of refs/tags/<tagname> .  

            mhenschke_atlassian Martin Henschke
            mhenschke_atlassian Martin Henschke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: