Merge of feature/ci_jenkins to develop See merge request o2oa/o2oa!77
@@ -1,16 +1,24 @@
pipeline {
agent {label '132'}
stages {
- stage('preperation') {
+ stage('Stop Server') {
steps {
- catchError(buildResult: 'SUCCESS', stageResult: 'FAILURE') {
+ catchError(buildResult: 'SUCCESS') {
sh 'target/o2server/stop_linux.sh'
}
+ }
+ stage('init') {
+ steps {
sh 'npm install'
- sh 'npm run preperation:linux'
sh 'npm run clear'
+ stage('dependency') {
+ sh 'npm run preperation:linux'
stage('build') {
parallel {
stage('build server') {