20250423 jenkinsfile脚本调试 -3
Some checks failed
gitea-Liang/pipeline/head There was a failure building this commit
Some checks failed
gitea-Liang/pipeline/head There was a failure building this commit
This commit is contained in:
parent
c2db0fa059
commit
bbd8e9a05c
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -16,8 +16,8 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
sh 'echo publish'
|
sh 'echo publish'
|
||||||
sh 'echo "当前目录路径: $(pwd)"'
|
sh 'echo "当前目录路径: $(pwd)"'
|
||||||
cd liang-springcloud-alibaba-goods-service/target
|
sh 'liang-springcloud-alibaba-goods-service/target'
|
||||||
cp ~/liang-springcloud-alibaba-goods-service-1.0-SNAPSHOT.jar /opt/service
|
sh 'cp ~/liang-springcloud-alibaba-goods-service-1.0-SNAPSHOT.jar /opt/service'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user