X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-macros.yaml;h=f5021d262f64a1fc2020a4f4c4d3fe905d7aa7eb;hb=b9bf2930c67afd6ba69c1be0f672c0a21de34303;hp=b1875d2a74e2b574e687267a6cc66a07324a944b;hpb=31a4b7fc00fe90494b6efb512ad0f1db02481ff3;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index b1875d2a..f5021d26 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -128,6 +128,7 @@ variable: CLOUDENV - inject: properties-content: | + PACKER_BUILDER={packer-builder} PACKER_PLATFORM={platform} PACKER_TEMPLATE={template} PACKER_VERSION={packer-version} @@ -396,6 +397,11 @@ java-opts: "{sonar-java-opts}" additional-arguments: "{sonar-additional-args}" +- builder: + name: lf-infra-pipeline-verify + builders: + - shell: !include-raw-escape: ../shell/pipeline-linter.sh + ############## # PARAMETERS # ############## @@ -593,6 +599,10 @@ name: LOG_DIR default: "" description: "Log dir, for example: project-maven-stage-master/17/" + - string: + name: OVERRIDE_SEMVER_REGEX + default: "" + description: "Override Semantic Version (SemVer) Regular Expression. Ex: '.*'" - choice: name: DISTRIBUTION_TYPE choices: @@ -699,6 +709,27 @@ - "**/*.jenkins-trigger" fail-build: false +- publisher: + name: global-jjb-email-notification + publishers: + - email-ext: + recipients: "{email-recipients}" + reply-to: "" + content-type: default + subject: "{email-prefix} $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS!" + body: | + $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS: + + Please refer to the logs server URL for console logs when possible + and use the Jenkins Build URL as a last resort. + + Jenkins Build URL: + $BUILD_URL + unstable: true + fixed: true + send-to: + - recipients + ####### # SCM # #######