Commit 567535d8 authored by wentao.suo's avatar wentao.suo

hashCode 16

parent 6d866cd4
...@@ -117,7 +117,7 @@ def checkout(buildType,systemName, branchName) { ...@@ -117,7 +117,7 @@ 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()
echo "brahHashCode:${brahHashCode} with 'git log -1 --pretty=%h'" echo "brahHashCode:${brahHashCode} with 'git log -1 --pretty=%h'"
return brahHashCode 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