Commit a5b7bcb9 authored by wentao.suo's avatar wentao.suo

fix

parent 68aff766
......@@ -115,7 +115,7 @@ def checkout(buildType,systemName, branchName) {
break
}
def brahHashCode = sh (script: 'git log -1 --pretty=%h',returnStdout: true).trim()
def brahHashCode = sh (script: 'git log -1 --pretty=%H',returnStdout: true).trim()
echo "brahHashCode:${brahHashCode} with 'git log -1 --pretty=%H'"
return brahHashCode.substring(0,15)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment