AnalysisSystemForRadionuclide/Jenkinsfile

26 lines
537 B
Plaintext
Raw Normal View History

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