We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f27681 commit e574c8dCopy full SHA for e574c8d
.ci/test.jenkins
@@ -3,10 +3,10 @@
3
node('Linux') {
4
5
boolean publishDocs = env.BRANCH_NAME.startsWith("release/2.")
6
- def targetBranch = env.CHANGE_BRANCH
+ def targetBranch = env.CHANGE_BRANCH ? env.CHANGE_BRANCH : env.BRANCH_NAME
7
8
// We also have to clone conan sources for the sphinx autodoc extension
9
- def conanBranch = (targetBranch.startsWith("release/2.")) ? targetBranch : 'develop2'
+ def conanBranch = targetBranch.startsWith("release/2.") ? targetBranch : 'develop2'
10
def conan_repo_url = 'https://github.com/conan-io/conan.git'
11
12
echo "Docs target branch: ${targetBranch}"
0 commit comments