Skip to content

Commit 8c71ef3

Browse files
fix(Jenkinsfile): fix incorrect master ref (#117)
1 parent be54ef9 commit 8c71ef3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ parallel(
6969
def git_branch = readFile('tmp/GIT_BRANCH')
7070
def git_tag = readFile('tmp/GIT_TAG')
7171

72-
if (git_branch != "heads/master" && git_tag == "") {
72+
if (git_branch != "remotes/origin/master" && git_tag == "") {
7373
echo "Skipping build of 386 binaries to shorten CI for Pull Requests"
7474
env.BUILD_ARCH = "amd64"
7575
}
@@ -94,7 +94,7 @@ parallel(
9494
sh 'git describe --all --exact-match > tmp/GIT_BRANCH'
9595
def git_branch = readFile('tmp/GIT_BRANCH')
9696

97-
if (git_branch == "heads/master") {
97+
if (git_branch == "remotes/origin/master") {
9898
sh 'make bootstrap'
9999
sh 'make build-latest'
100100

0 commit comments

Comments
 (0)