Jenkins配合Shell腳本自動化部署Tomcat

#!/bin/bash export BUILD_ID=dontKillMe source /etc/profile echo "刪除舊部署目錄" rm -rf /usr/local/tomcat/webapps/ROOT echo "複製war包到部署目錄" cd /var/lib/jenkins/workspace/skr/target/ cp skr.war /usr/local/tomca
相關文章
相關標籤/搜索