Commit 52e2be1c authored by wentao.suo's avatar wentao.suo

fix

parent 43ac63ec
...@@ -145,7 +145,7 @@ def checkout_nodejs(systemName, branchName) { ...@@ -145,7 +145,7 @@ def checkout_nodejs(systemName, branchName) {
currentPath = sh (script: 'pwd',returnStdout: true).trim() currentPath = sh (script: 'pwd',returnStdout: true).trim()
def folder = new File( "${currentPath}/.git/hooks" ) def folder = new File( "${currentPath}/.git/hooks" )
echo "${currentPath}/.git/hooks" older.exists() echo "${currentPath}/.git/hooks" folder.exists()
if( !folder.exists()){ if( !folder.exists()){
echo ">>>>>>>>> first git clone" echo ">>>>>>>>> first git clone"
git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: gitPath git branch: branchName, credentialsId: 'e1ccb1ac-1282-4fb4-b766-530ca1a2a2db', url: gitPath
......
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