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

Bitbucket Branch Source Plugin sets wrong BRANCH_NAME when building tags

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When building a tag the corresponding environment variable "BRANCH_NAME" is set to the name of the tag instead of the expected branch name. The tag name is already available via "TAG_NAME".

        Attachments

          Activity

          Hide
          lifeofguenter Günter Grodotzki added a comment -

          This is as intended. Tags are just aliases to a commit, they do not contain any information other than that.

          Show
          lifeofguenter Günter Grodotzki added a comment - This is as intended. Tags are just aliases to a commit, they do not contain any information other than that.

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ics11710 A A
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: