Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
fix centreon build checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
zguennoune02 authored Oct 26, 2021
1 parent 587a55e commit 00a4d15
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ if (env.BRANCH_NAME.startsWith('release-')) {
env.BUILD = 'CI'
}

def checkoutCentreonBuild() {
dir('centreon-build') {
checkout resolveScm(source: [$class: 'GitSCMSource',
remote: 'https://github.com/centreon/centreon-build.git',
credentialsId: 'technique-ci',
traits: [[$class: 'jenkins.plugins.git.traits.BranchDiscoveryTrait']]],
targets: [BRANCH_NAME, 'master'])
}
}

/*
** Pipeline code.
*/
Expand Down

0 comments on commit 00a4d15

Please sign in to comment.