mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-06 17:36:48 +08:00
28 lines
578 B
Groovy
28 lines
578 B
Groovy
pipeline {
|
|
agent any
|
|
parameters {
|
|
string(name: 'ROLLBACK_VERSION', defaultValue: '', description: '')
|
|
string(name: 'UNLOCK', defaultValue: '', description: '')
|
|
}
|
|
stages {
|
|
stage('pull sourcecode') {
|
|
steps {
|
|
git(url: 'http://gitlab.hengansl.com/ebp/ebiz-product-factory-backmanege-h5.git', branch: 'master', credentialsId: 'cicd')
|
|
}
|
|
}
|
|
|
|
stage('build') {
|
|
steps {
|
|
sh '/app/build.sh . 10 "12.22.6"'
|
|
}
|
|
}
|
|
|
|
stage('deploy') {
|
|
steps {
|
|
sh '/app/deploy.sh 2 "10.1.0.192"'
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|