Merge branch 'git-rev-parse-workaround'

This commit is contained in:
akwizgran
2017-11-30 17:39:33 +00:00

View File

@@ -170,7 +170,7 @@ def getGitHash = { ->
def stdout = new ByteArrayOutputStream()
try {
exec {
commandLine 'git', 'rev-parse', '--short', 'HEAD'
commandLine 'git', 'rev-parse', '--short=7', 'HEAD'
standardOutput = stdout
}
return stdout.toString().trim()