generated from gCubeCI/Pipeline-Docker-Template
use find command
This commit is contained in:
parent
e284591aab
commit
fcf6854059
|
@ -85,7 +85,8 @@ pipeline {
|
|||
date=`date`;
|
||||
mkdir -p ${DEPLOY_FILE_ROOT_FOLDER}
|
||||
mkdir -p "${WORKSPACE}/CD"
|
||||
mv -v "${DEPLOY_FILE_ROOT_FOLDER}'*'" "${WORKSPACE}"
|
||||
|
||||
find "${DEPLOY_FILE_ROOT_FOLDER}" -type f -exec mv {} "${WORKSPACE}"
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue