X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-maven-jobs.yaml;h=b2482c12d8fc939d0bdd101621e3b7735b339e03;hb=c3150dcea8069e284ec52bf487541576a62687ab;hp=f127e91ced86c2dda1ea0d2cb0906d4b8bafe3aa;hpb=d22c3fe8f7bc3f3276dedd7448c4f82f50fe7584;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-maven-jobs.yaml b/jjb/lf-maven-jobs.yaml index f127e91c..b2482c12 100644 --- a/jjb/lf-maven-jobs.yaml +++ b/jjb/lf-maven-jobs.yaml @@ -71,7 +71,8 @@ - builder: name: lf-maven-stage builders: - - shell: !include-raw-escape: + # include-raw-escape fails due to JJB bug + - shell: !include-raw: - ../shell/common-variables.sh - ../shell/maven-stage.sh @@ -79,7 +80,11 @@ name: lf-update-java-alternatives builders: - inject: - properties-content: 'SET_JDK_VERSION={java-version}' + # Work around inject plugin overriding our GIT_URL variable incorrectly + # https://issues.jenkins-ci.org/browse/JENKINS-49775 + properties-content: | + SET_JDK_VERSION={java-version} + GIT_URL="$GIT_URL" - shell: !include-raw-escape: ../shell/update-java-alternatives.sh - inject: properties-file: '/tmp/java.env'