AnalysisSystemForRadionuclide/Jenkinsfile

31 lines
762 B
Plaintext
Raw Permalink Normal View History

2023-05-11 10:44:42 +08:00
pipeline {
agent any
2023-05-11 19:11:40 +08:00
stages {
2023-06-27 16:51:31 +08:00
// stage('Stop') {
// steps {
// sh 'sh /var/lib/jenkins/workspace/stop.sh'
// }
// }
2023-06-28 13:44:02 +08:00
stage('ready') {
steps {
sh 'cd jeecg-server-cloud'
}
}
stage('Build') {
steps {
sh 'mvn -B -DskipTests clean install'
}
}
2023-06-28 11:02:08 +08:00
2023-06-27 16:51:31 +08:00
// stage('Start') {
// steps {
// // 解决Jenkins构建完毕之后会杀死所有衍生进程问题
// withEnv(['JENKINS_NODE_COOKIE=dontkillme']) {
// sh 'sh /var/lib/jenkins/workspace/start.sh'
// }
// }
// }
2023-05-11 10:44:42 +08:00
}
}
2023-05-11 19:11:40 +08:00