From 9cdff13601cf9cc05241aeeced301bec665c7d70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E8=AF=97=E5=85=83?= Date: Thu, 13 Jan 2022 16:03:54 +0000 Subject: [PATCH] update deploy/demo.groovy. --- deploy/demo.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/demo.groovy b/deploy/demo.groovy index e86b878..c7b42a3 100644 --- a/deploy/demo.groovy +++ b/deploy/demo.groovy @@ -63,7 +63,7 @@ def call(Map map) { stage("start app") { steps { - sh "mv ${package_dir}/target/${package_name} work_home/${package_name}" + sh "mv target/${package_name} work_home/${package_name}" dir(path: "work_home") { withEnv(['JENKINS_NODE_COOKIE=dontkill']) { sh "nohup java -Duser.timezone=GMT+08 -server -Xms1g -Xmx1g -XX:+UseG1GC -XX:+HeapDumpOnOutOfMemoryError -jar ${package_name} > ../app.log 2>&1 &" -- Gitee