Issue Type: Bug Bug
Assignee: Nicolas De Loof
Components: git-plugin
Created: 03/Jan/15 6:42 AM
Description:

In the git plugin, when multiple repository URLs are configured (note: two remotes, not MultiSCM), building a git tag does not find the correct commit.

Steps to reproduce:

  1. Create a job with two git repository URLs (note: two remotes, not MultiSCM). Ensure you name give the second one a different remote name. For example:
    origin -> git://github.com/blt04/jenkins-test1.git
    upstream -> git://github.com/blt04/jenkins-test2.git
  2. Run a build using master
  3. Configure the branch to be a tag: "test2-1.0"
  4. Run the job


Expected results:
Builds the tag

Actual results:
Builds the last built revision

Project: Jenkins
Labels: git-plugin
Priority: Minor Minor
Reporter: Brandon Turner
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