Demo CICD 源码
docker build -t saurabhdevo1 / demo-webapp:latest。 docker运行-d -p 8081:8080 saurabhdevo1 / demo-webapp:latest #运行cd管道的脚本回显'进程正在运行'cd / usr / share / tomcat7 / bin sudo systemctl stop tomcat sudo cp /var/lib/jenkins/workspace/MyFirst_CI_Pipeline/target/Demo-CICD.war / var / lib / tomcat7 / webapps sudo chmod -R 755 /usr/share/tomcat7/webapps/Demo-CICD.war cd / usr / share / tomcat7 / bin sudo ./st
用户评论