Skip to content
Snippets Groups Projects
Commit f0d8532f authored by akwizgran's avatar akwizgran
Browse files

Specify 7 characters for Git revision.

parent 48918f47
No related branches found
No related tags found
No related merge requests found
......@@ -169,7 +169,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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment