Mark Waite commented on Bug JENKINS-23287

I'm not able to duplicate the bug as you've described it. Can you provide more details?

The steps I took to try to recreate the bug:

  1. Create a Jenkins job JENKINS-23287-GIT_BRANCH-not-set-in-merge-job
  2. Create a bare local repository /var/lib/git/jenkins/JENKINS-23287.git
  3. Commit a change to the bare repository
  4. Use that bare repository in the Jenkins job
  5. Enable "merge before build" to merge to the origin repository and its master branch
  6. Add a shell build step to echo the value of $GIT_BRANCH and fail the build if $GIT_BRANCH is an empty string

The verification tests I ran were all able to merge from the branches I created to master.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to