Commit fb0e6b81 authored by tywldx's avatar tywldx

pwd

parent fc841b4c
...@@ -88,8 +88,12 @@ def checkout_lua_ui(branchName, gitRepo) { ...@@ -88,8 +88,12 @@ def checkout_lua_ui(branchName, gitRepo) {
dir (projects[it]) { dir (projects[it]) {
/* def scriptDir = sh "pwd"*/ /* def scriptDir = sh "pwd"*/
def aa = getCurrentDir() currentPath = sh (
echo "=============${aa}" script: 'pwd',
returnStdout: true
).trim()
echo "=============${currentPath}"
def folder = new File( './.git/hooks' ) def folder = new File( './.git/hooks' )
echo "----------------${folder}" echo "----------------${folder}"
echo "${folder.exists()}" echo "${folder.exists()}"
......
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