fix build script if not git cloned
This commit is contained in:
@@ -28,6 +28,7 @@ def gitCommitHash = { ->
|
||||
exec {
|
||||
commandLine 'git', 'rev-parse', '--short', 'HEAD'
|
||||
standardOutput = stdout
|
||||
ignoreExitValue = true
|
||||
}
|
||||
return stdout.toString().trim()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user