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

GIT_PREVIOUS_(SUCCESSFUL_)?COMMIT is not set when the it's tag that is checkouted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-plugin
    • None

      GIT_PREVIOUS_COMMIT and GIT_PREVIOUS_SUCCESSFUL_COMMIT are set correctly when a branch is checkouted but not when a tag.

      This should probably work even if we are checking out just a random commit that is currently not pointed at by any branch or tagged with any tag.

       

            Unassigned Unassigned
            mstoykov mihail stoykov
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: