-
Notifications
You must be signed in to change notification settings - Fork 66
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
gitVersion 4.0.0 in new image fails on pull request builds #2740
Comments
Apparently, we were a little hasty in upgrading to gitversion 4 which has some bugs. If it is not stabilized by the time we roll out the next platform update, we will have to roll it back.
|
Well, yeah, this is what we know already :) the real outcome of this will be dozens of hours spent on updating each code repo, only me have checked out about 36 of them and there is another 8 members of a team in project, if you multiply it let say by 5 branches each - I'm terrified... Actually it doesn't matter if we add the above script or we use previous image, it still will require to touch each branch. Is there a way to take it back to previous image only for our organisation? It would save us tremendous amount of time. Anyway, thanks for the workaround script, I'll test it and let you know about the result. |
Script works fine, I had to also get back to previous version of gitVersion.yml. |
If you add Or we can write a script which will update it with API, you will be needed just pass account name, API token, project slug and desired image to this script, and run the script against each project slug with desired image. Let us know what would work for you. |
Looks like after recent Visual Studio 2017 image update we are experiencing issues with gitVersion tool in version 4.0.0 (unable to use earlier version due to above update). It works fine when building from branches but fails on pull request builds.
Steps to reproduce:
Current result
gitVersion tool fails and prints below message
Steps taken to fix
Step suggested in an error message didn't help.
Desired result
gitVersion tool works as expected also for pull request builds
The text was updated successfully, but these errors were encountered: