Jenkins sprongBoot项目自动化部署相关脚本
Jenkins sprongBoot项目自动化部署相关脚本
服务器相关脚本,将此脚本放到jar包同级目录
#!/bin/bash
source /etc/profile
BUILD_ID=dontKillMe
appName=`ls|grep .jar$`
if [ -z $appName ]
then
echo "Please check that this script and your jar-package is in the same directory!"
exit 0
原创
2021-10-09 16:56:49 ·
179 阅读 ·
0 评论