jenkins-info-send-build-artifacts-over-ssh
2016-05-25 15:59 ycliu912 阅读(1321) 评论(0) 编辑 收藏 举报SSH Publishers
SSH Servers: ssh-mos.douins.com
Transfers:
Transfer Set
Source files:
Remove prefix:
Remote directory:
Exec command: kill -9 $(ps -ef | grep -v grep | grep tomcat | awk '{print $2}') && echo "kill is working" >> /tmp/tomcat.log;rm -rf /usr/local/apache-tomcat-7.0.68/temp/* && echo "rm temp dir is working" >> /tmp/tomcat.log;rm -rf /usr/local/apache-tomcat-7.0.68/work/* && echo "rm work dir is working" >> /tmp/tomcat.log ; rm -rf /usr/local/apache-tomcat-7.0.68/webapps/agencyapi*
Transfer Set
Source files: agency-api/target/agencyapi.war
Remove prefix: agency-api/target
Remote directory:
Exec command: bash /usr/local/apache-tomcat-7.0.68/bin/startup.sh