Jenkins pipeline (#123)

Reviewed-on: R11/release11-tools-web#123
This commit is contained in:
2023-03-18 08:31:12 +01:00
parent 02ac7e09d3
commit 60922ea3c7

23
Jenkinsfile vendored
View File

@@ -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}")
]
)
}
}
}
}