|
@@ -1,16 +1,24 @@
|
|
|
pipeline {
|
|
pipeline {
|
|
|
agent {label '132'}
|
|
agent {label '132'}
|
|
|
stages {
|
|
stages {
|
|
|
- stage('preperation') {
|
|
|
|
|
|
|
+ stage('Stop Server') {
|
|
|
steps {
|
|
steps {
|
|
|
- catchError(buildResult: 'SUCCESS', stageResult: 'SUCCESS') {
|
|
|
|
|
|
|
+ catchError(buildResult: 'SUCCESS') {
|
|
|
sh 'target/o2server/stop_linux.sh'
|
|
sh 'target/o2server/stop_linux.sh'
|
|
|
}
|
|
}
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+ stage('init') {
|
|
|
|
|
+ steps {
|
|
|
sh 'npm install'
|
|
sh 'npm install'
|
|
|
- sh 'npm run preperation:linux'
|
|
|
|
|
sh 'npm run clear'
|
|
sh 'npm run clear'
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
+ stage('dependency') {
|
|
|
|
|
+ steps {
|
|
|
|
|
+ sh 'npm run preperation:linux'
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
stage('build') {
|
|
stage('build') {
|
|
|
parallel {
|
|
parallel {
|
|
|
stage('build server') {
|
|
stage('build server') {
|