Commit f116bc5d authored by daidekun's avatar daidekun

clean_dir

parent 3751882d
...@@ -124,8 +124,8 @@ def build_nodejs(namespace, systemName, contextDir, repoName, branchName, worksp ...@@ -124,8 +124,8 @@ def build_nodejs(namespace, systemName, contextDir, repoName, branchName, worksp
sh "bower install" sh "bower install"
} }
/* sh "cp -rf /home/quant_group/jenkins_home/workspace/pre.${systemName}/node_modules/ node_modules" sh "cp -rf /home/quant_group/jenkins_home/workspace/pre.${systemName}/node_modules/ node_modules"
*/
sh "mv -f env.config.js ${configPath}" sh "mv -f env.config.js ${configPath}"
sh "npm install --registry=https://registry.npm.taobao.org" sh "npm install --registry=https://registry.npm.taobao.org"
...@@ -181,8 +181,4 @@ def deploy(namespace, systemName, imageTag, tier, isDeploy) { ...@@ -181,8 +181,4 @@ def deploy(namespace, systemName, imageTag, tier, isDeploy) {
def clean_images(imageTag) { def clean_images(imageTag) {
sh "docker rmi -f \$(docker images -q ${imageTag})" sh "docker rmi -f \$(docker images -q ${imageTag})"
}
def clean_dir(contextDir) {
deleteDir()
} }
\ No newline at end of file
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