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'){ pipeline {
stage('git pull'){ agent any
git credentialsId: '7724c11a-2509-4aa3-9862-106aa354c5b8', url: 'ssh://_git@phabricator.release11.com/diffusion/CZOPW/czopw.git' stages {
} stage('Run Tools Deployment Job') {
stage('build & deploy'){ steps {
sh 'cd Web/ && docker-compose --context gordon up --force-recreate --build -d' build(
} job: '../tools-deployment',
parameters: [
string(name: 'TOOLS_BRANCH', value: "${GIT_BRANCH}")
]
)
}
}
}
} }