You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

28 lines
654 B

//file:noinspection ALL
pipeline {
agent any
environment {
projectName = 'wms8-api'
}
stages {
stage('#检查环境') {
steps {
sh """
java -version
"""
}
}
stage('#编译项目') {
steps {
sh """
wget -N http://git.yvanui.com/lizhiwei/jztd-deploy/raw/master/05shengke/05api-prod.sh
chmod +x ./05api-prod.sh
JENKINS_NODE_COOKIE=dontKillMe nohup ./05api-prod.sh deploy > /dev/null 2>&1 &
"""
}
}
}
}