Skip to content
Snippets Groups Projects
Commit 74a27197 authored by OZGCloud's avatar OZGCloud
Browse files

ozg-2502 checkout release provisioning

parent 038282de
No related branches found
No related tags found
No related merge requests found
......@@ -227,9 +227,10 @@ Void checkoutProvisioningRepo() {
withCredentials([usernamePassword(credentialsId: 'jenkins-gitea-access-token', passwordVariable: 'TOKEN', usernameVariable: 'USER')]) {
sh 'git clone https://${USER}:${TOKEN}@git.ozg-sh.de/mgm/provisioning.git'
// todo remove git checkout
if (env.BRANCH_NAME == 'release') {
dir('provisioning') {
sh 'git checkout ozg-2502'
sh 'git checkout release'
}
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment