AnalysisSystemForRadionuclide/Jenkinsfile

27 lines
538 B
Plaintext
Raw Normal View History

2023-05-11 10:44:42 +08:00
pipeline {
agent any
2023-05-11 19:11:40 +08:00
stages {
stage('Stop') {
2023-05-11 10:44:42 +08:00
steps {
2023-05-11 19:11:40 +08:00
sh '/var/lib/jenkins/workspace/stop.sh'
2023-05-11 10:44:42 +08:00
}
}
2023-05-11 19:11:40 +08:00
stage('Build') {
steps {
sh 'mvn -B -DskipTests clean install'
}
}
stage('Start'){
steps {
sh '/var/lib/jenkins/workspace/start.sh'
}
}
// stage('Deploy') {
2023-05-11 18:48:19 +08:00
// steps {
2023-05-11 19:11:40 +08:00
// sh 'echo publish'
2023-05-11 18:48:19 +08:00
// }
// }
2023-05-11 10:44:42 +08:00
}
}
2023-05-11 19:11:40 +08:00