Jenkins pipeline #123
23
Jenkinsfile
vendored
23
Jenkinsfile
vendored
@@ -1,11 +1,16 @@
|
||||
node('master'){
|
||||
stage('git pull'){
|
||||
git credentialsId: '7724c11a-2509-4aa3-9862-106aa354c5b8', url: 'ssh://_git@phabricator.release11.com/diffusion/CZOPW/czopw.git'
|
||||
}
|
||||
stage('build & deploy'){
|
||||
sh 'cd Web/ && docker-compose --context gordon up --force-recreate --build -d'
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent any
|
||||
stages {
|
||||
stage('Run Tools Deployment Job') {
|
||||
steps {
|
||||
build(
|
||||
job: '../tools-deployment',
|
||||
parameters: [
|
||||
string(name: 'TOOLS_BRANCH', value: "${GIT_BRANCH}")
|
||||
]
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user