Change in Git behaviour
We have some scripts peeking into .git/ to look for the current revision - it worked yesterday, but today it doesn't.
Did you change something?
Comments are currently closed for this discussion. You can start a new one.
|?||Show this help|
|ESC||Blurs the current field|
|r||Focus the comment reply box|
|^ + ↩||Submit the comment|
You can use
Command ⌘ instead of
Control ^ on Mac
Support Staff 1 Posted by Feodor Fitsner on 16 Oct, 2013 04:59 PM
An updated Build Agent was deployed yesterday, but nothing breaking - just a fix for calling batch deployment script.
What's wrong with Git though?
2 Posted by philippe.elsass on 16 Oct, 2013 05:14 PM
We are reading files inside .git/ to determine the branch and commit number
and it worked until yesterday.
I'll try to figure what changed...
Support Staff 3 Posted by Feodor Fitsner on 16 Oct, 2013 05:17 PM
Yeah, that strange. A regular git executable is used on build servers to fetch sources and it wasn't updated...
Hey, right now %commitid% could be found in environment variables when calling build script. I could add branch too.
4 Posted by philippe.elsass on 16 Oct, 2013 05:22 PM
Were not using git for peeking into .git, but env variables are fine!
Thanks and sorry for the troubles.
Support Staff 5 Posted by Feodor Fitsner on 16 Oct, 2013 05:23 PM
Cool, I will add a new TODO item for branch env var.
Feodor Fitsner closed this discussion on 16 Oct, 2013 05:23 PM.