[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Dejan Stojadinovic commented on JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 Mark Waite Sorry for the late reply; just to confirm that upgrade to Jenkins Git plugin 2.1.0 and Jenkins Git client plugin 1.7.0 solved my issues (mentioned above). Thanx ! 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Mark Waite closed JENKINS-21952 as Fixed Git Plugin fails to resolve tags containing a slash since 2.0.1 Fixed in git-plugin 2.1.0 Change By: Mark Waite (31/Mar/14 11:58 PM) Status: Resolved Closed 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Mark Waite resolved JENKINS-21952 as Fixed Git Plugin fails to resolve tags containing a slash since 2.0.1 Fix should be visible in the next git-plugin after 2.0.4 Change By: Mark Waite (17/Mar/14 1:08 PM) Status: Open Resolved Resolution: Fixed 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
SCM/JIRA link daemon commented on JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 Code changed in jenkins User: Stephan Pauxberger Path: src/main/java/hudson/plugins/git/util/DefaultBuildChooser.java http://jenkins-ci.org/commit/git-plugin/c7dae80b85c19acec2e52783cdc8335681d816e5 Log: JENKINS-21952 Resolve tags with slashes If no revisions are found, try to use the branch as explicit reference. This could be a tag rel/my-tags or any other explicit reference like a gerrit changeset (refs/changes/xx/yy/z). 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
SCM/JIRA link daemon commented on JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 Code changed in jenkins User: Mark Waite Path: src/main/java/hudson/plugins/git/util/DefaultBuildChooser.java http://jenkins-ci.org/commit/git-plugin/7b8955796e87c8d1a0974cb07a1cba82c5e15e11 Log: Merge pull request #205 from pauxus/21952-tags-with-slashes JENKINS-21952 Resolve tags with slashes Compare: https://github.com/jenkinsci/git-plugin/compare/e6b41fb200f9...7b8955796e87 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Dejan Stojadinovic commented on JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 Thanx for a quick response, Mark Waite; I'll provide in-detail answers in day or two. 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Dejan Stojadinovic commented on JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 I'm also receiving error while trying to build from tag using Jenkins git plugin (version 2.0.4): ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. Build from git branches works as expected. Note that ALL of my tags contain numbers and dots only (no slashes), for example: 14.01 14.01.01 14.01.02 14.02 14.02.01 14.02.02 etc Environment details: Jenkins LTS: 1.532.2 Git (used by Jenkins: 1.7.11) Jenkins Git client plugin: 1.6.4 Jenkins Git plugin: 2.0.4 Jenkins Git plugin downgrade to version 2.0.1 solves issue (i.e. I'm able to build from git tags with 2.0.1). 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Mark Waite commented on JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 Is the problem only on initial clone of the repository, or on later clones as well? When you browse the workspace, are the tags you're seeing in .git/refs/tags ? Can any of the tags in the repository be used as the "branch to build"? Is the behavior the same for command line git and JGit? 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Mark Waite commented on JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 Can you describe how the tags are used? Are you using the tags as the branch to checkout, or are you applying tags as part of the build process, or something completely different? 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Stephan Pauxberger commented on JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 updated the description. I try to check out a deep tag (containing a slash) created by another job. 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Stephan Pauxberger updated JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 Change By: Stephan Pauxberger (27/Feb/14 1:42 PM) Description: Sinceupdatingfrom2.0.1to2.0.3,ajobwhichusestagscontainingaslashasbranchdoesnotworkanymore(rel/x.y.z-...inmycase) Build Imycase,asepatejobcreatesareleasetag(refs/tags/rel/my-tag).Thejobthatstoppedtoworktriestocheckoutthisgiventag(usingaparameter:sothebranchfieldcontainsthevalue:rel/$version)Usinggitplugin2.0.1,thisworks.Usinggitplugin2.0.3thecheckoutattempt resultsinCouldntfindanyrevisiontobuild.Verifytherepositoryandbranchconfigurationforthisjob.Downgradingto2.0.1solvestheproblem.Theproblemhasalreadybeendiscussedin[JENKINS-14026],buttheappliedfixonlyworksforslash-lesstags 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Mark Waite commented on JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 Thanks. When you reverted back to git-plugin 2.0.1, did you also revert to an earlier version of git-client-plugin, or did you remain with the current release of git-client-plugin (1.6.3)? I ask because I'm concerned that the root of the issue might be in git-client-plugin rather than git-plugin. If you only reverted the git-plugin and that was enough to resolve the issue, then the problem is most likely in the git-plugin, not in git-client-plugin. 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Stephan Pauxberger commented on JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 I did only revert git-plugin, git-client-plugin is current version. 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Stephan Pauxberger commented on JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 The problem lies in DefaultBuildChooser, Commit ea5cad7e27. Before this change, the implementation always fell back an unconditional call of: revisions.addAll(getHeadRevision(isPollCall, singleBranch, git, listener, data)); I think this fallback should still apply. I will provide a pull request. 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Stephan Pauxberger edited a comment on JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 The problem lies in DefaultBuildChooser, Commit ea5cad7e27. Before this change, the implementation always fell back to an unconditional call of: revisions.addAll(getHeadRevision(isPollCall, singleBranch, git, listener, data)); I think this fallback should still apply. I will provide a pull request. 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Stephan Pauxberger commented on JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 Created Pull Request 205 (https://github.com/jenkinsci/git-plugin/pull/205). 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Stephan Pauxberger created JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 Issue Type: Bug Assignee: Nicolas De Loof Components: git Created: 25/Feb/14 9:19 PM Description: Since updating from 2.0.1 to 2.0.3, a job which uses tags containing a slash as "branch" do not work anymore (rel/x.y.z-... in my case) Build results in "Couldn't find any revision to build. Verify the repository and branch configuration for this job." Downgrading to 2.0.1 solves the problem. The problem has already been discussed in JENKINS-14206, but the applied fix only works for slash-less tags Project: Jenkins Priority: Critical Reporter: Stephan Pauxberger 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Mark Waite commented on JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 Could you double check that the other bug you reference is the bug you intended to reference? JENKINS-14206 seems unrelated to the git plugin. 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Stephan Pauxberger updated JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 Change By: Stephan Pauxberger (25/Feb/14 10:29 PM) Description: Sinceupdatingfrom2.0.1to2.0.3,ajobwhichusestagscontainingaslashasbranchdonotworkanymore(rel/x.y.z-...inmycase)BuildresultsinCouldntfindanyrevisiontobuild.Verifytherepositoryandbranchconfigurationforthisjob.Downgradingto2.0.1solvestheproblem.Theproblemhasalreadybeendiscussedin[JENKINS- 14206 14026 ],buttheappliedfixonlyworksforslash-lesstags 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Stephan Pauxberger commented on JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 Sorry, Typo. Corrected. 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[JIRA] [git] (JENKINS-21952) Git Plugin fails to resolve tags containing a slash since 2.0.1
Stephan Pauxberger updated JENKINS-21952 Git Plugin fails to resolve tags containing a slash since 2.0.1 Change By: Stephan Pauxberger (25/Feb/14 10:31 PM) Description: Sinceupdatingfrom2.0.1to2.0.3,ajobwhichusestagscontainingaslashasbranch do does notworkanymore(rel/x.y.z-...inmycase)BuildresultsinCouldntfindanyrevisiontobuild.Verifytherepositoryandbranchconfigurationforthisjob.Downgradingto2.0.1solvestheproblem.Theproblemhasalreadybeendiscussedin[JENKINS-14026],buttheappliedfixonlyworksforslash-lesstags 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 jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.