Score
0
Watch 521 Star 2.1K Fork 1.5K

O2OA企业OA协同办公 / O2OAJavaAGPL-3.0

Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
Jenkinsfile_release 1.00 KB
Copy Edit Web IDE Raw Blame History
pipeline {
agent {label 'release'}
stages {
stage('Stop Server') {
steps {
catchError(buildResult: 'SUCCESS') {
bat 'target/o2server/stop_windows.sh'
}
}
}
stage('init') {
steps {
bat 'npm install'
bat 'npm run clear_deploy'
}
}
stage('dependency') {
steps {
bat 'npm run preperation:win'
}
}
stage('build') {
parallel {
stage('build server') {
steps {
bat 'npm run build_server'
}
}
stage('build web') {
steps {
bat 'npm run build_web'
}
}
}
}
stage('deploy') {
steps {
bat 'npm run deploy:win'
}
}
}
}

Comment ( 0 )

Sign in for post a comment