GitVersion.CommandLine stopped working #3112
-
Hi all, The line that triggers the error seems to be: So here is the log:
Maybe somebody else is experiencing the same problem or has some idea whats going on. In the meantime I will setup a new repository and start to copy my code over there and check if the error magically goes away ;-) |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 7 replies
-
Well ... its definitely not the repository! Just found another repo which was last edited on Jan 22 and was green on that date. |
Beta Was this translation helpful? Give feedback.
-
GitVersion did a release in the given timeframe. Did you pin the version of GitVersion you use or are you using the latest available version for every build? |
Beta Was this translation helpful? Give feedback.
-
Are you able to share a small repo that reproduces this error? |
Beta Was this translation helpful? Give feedback.
-
One thing you could try is to see if pipeline checkout code task changed in a any way i.e. If they optimized away the branch you could try an step before - bash: 'git checkout -b $(Build.SourceBranchName)'
displayName: 'Branch checkout'
continueOnError: true |
Beta Was this translation helpful? Give feedback.
-
All right. After some experiments I finally merged all open branches back into develop and deleted the now unused branches. So thanks for all your help and ideas. From here on its outside the scope of cake and gitversion. |
Beta Was this translation helpful? Give feedback.
All right. After some experiments I finally merged all open branches back into develop and deleted the now unused branches.
It currently boils down do a problem with our on-site azure agent vs. the pipeline buildagent. Where the error now appears on the on-site agent only.
So thanks for all your help and ideas. From here on its outside the scope of cake and gitversion.