-
Notifications
You must be signed in to change notification settings - Fork 654
[Bug] Unable to run with jenkins multi-branch pipeline. #3189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Is |
It's there as an example name. However, the branch is in the |
I was just wondering whether the branch names had upper and lowercase letters in them, because that is a known source of problems for mixed Windows/Linux environments. |
We're running this on Linux (Ubuntu 20.04LTS) and the branch names are a mix of upper and loser case values. Some examples would be:
From our developer perspective, we do have a mix of Windows & Mac OS; our build machines are migrating from Windows to Linux. |
Then that may definitely be the cause of this bug, as I would recommend that you keep all your branch names all-lowercase to avoid these x-plat file system issues. |
I think that's fair, and I'm a snake_case in lower case fan, but being what it is this is an existing repo in which branch names are at the behest of the developer. |
I understand, but there's nothing we can do in GitVersion to avoid this. You will have to build some checks before running GitVersion that does some case-insensitive checks on branches before they are checked out and/or before running GitVersion to mitigate this. |
This issue has been automatically marked as stale because it has not had recent activity. After 30 days from now, it will be closed if no further activity occurs. |
This issue was closed because it has been stalled for 30 days with no activity. Thank you for your contributions |
Describe the bug
When trying to use this tool with Jenkins (2.361.1), when I try to generate the next version. I get an error about
LibGit2Sharp.LibGit2SharpException: ref '...' doesn't match the destination.
I've reviewed #1335 but none of the suggested work arounds worked for me.
Actual Behavior
Given the config.xml stanza. When the build runs, I get the nasty exception of:
Steps to Reproduce
Build using Bitbucket Branch plugin for Jenkins
Context
This caused the
.property
file to not get created.Your Environment
The text was updated successfully, but these errors were encountered: