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

fix

parent a5b7bcb9
...@@ -116,8 +116,9 @@ def checkout(buildType,systemName, branchName) { ...@@ -116,8 +116,9 @@ def checkout(buildType,systemName, branchName) {
} }
def brahHashCode = sh (script: 'git log -1 --pretty=%H',returnStdout: true).trim() def brahHashCode = sh (script: 'git log -1 --pretty=%H',returnStdout: true).trim()
brahHashCode = brahHashCode.substring(0,15)
echo "brahHashCode:${brahHashCode} with 'git log -1 --pretty=%H'" echo "brahHashCode:${brahHashCode} with 'git log -1 --pretty=%H'"
return brahHashCode.substring(0,15) return brahHashCode
} }
......
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