X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-macros.yaml;h=206e717e9ea3068f18f9f3ee01068c21057e75f2;hb=892d2dcf529e962f7ac747944267b7f98b307eb2;hp=01cf0595400174a639c204d1510ae10f1b960b06;hpb=67d9026da328bf16bfa9c1ab0fe88dc25cd1fafa;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index 01cf0595..206e717e 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -175,6 +175,19 @@ - ../shell/deploy-maven-file.sh - lf-provide-maven-settings-cleanup +- builder: + name: lf-maven-central + builders: + - conditional-step: + condition-kind: boolean-expression + condition-expression: '{mvn-central}' + steps: + - lf-infra-create-netrc: + server-id: 'ossrh' + - inject: + properties-content: 'OSSRH_PROFILE_ID={ossrh-profile-id}' + - shell: !include-raw-escape: ../shell/maven-central.sh + - builder: name: lf-maven-install builders: