Created
August 13, 2014 19:01
-
-
Save abhinavn/ff35d976a5fd8217b1c6 to your computer and use it in GitHub Desktop.
Jenkins detached branch name for Xcode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| buildDisplayName=$(git log -n 1 --pretty=%d HEAD | cut -d / -f 2-3 | awk '{print $1}' | sed s'/.$//') | |
| This is tested for all cases |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment