Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
czoido committed Feb 21, 2023
1 parent 3f27681 commit e574c8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/test.jenkins
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
node('Linux') {

boolean publishDocs = env.BRANCH_NAME.startsWith("release/2.")
def targetBranch = env.CHANGE_BRANCH
def targetBranch = env.CHANGE_BRANCH ? env.CHANGE_BRANCH : env.BRANCH_NAME

// We also have to clone conan sources for the sphinx autodoc extension
def conanBranch = (targetBranch.startsWith("release/2.")) ? targetBranch : 'develop2'
def conanBranch = targetBranch.startsWith("release/2.") ? targetBranch : 'develop2'
def conan_repo_url = 'https://github.com/conan-io/conan.git'

echo "Docs target branch: ${targetBranch}"
Expand Down

0 comments on commit e574c8d

Please sign in to comment.