X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=jjb%2Flf-macros.yaml;h=0db15aa56a37c4b36b89c3e90a7b385598996c7a;hb=89213a114af3775da43b5f97c3584db516d49987;hp=94847dcf9c527bcf09de210066e4d2e2601150e7;hpb=49eefe0c81cdb13784f4636836f79b3016e40529;p=releng%2Fglobal-jjb.git diff --git a/jjb/lf-macros.yaml b/jjb/lf-macros.yaml index 94847dcf..0db15aa5 100644 --- a/jjb/lf-macros.yaml +++ b/jjb/lf-macros.yaml @@ -74,6 +74,7 @@ condition-kind: regex-match regex: "^.*logs-s3.*" label: $S3_BUCKET + on-evaluation-failure: dont-run steps: - config-file-provider: files: @@ -94,7 +95,7 @@ - shell: !include-raw: - ../shell/logs-clear-credentials.sh - description-setter: - regexp: "^Build logs: .*" + regexp: "(^(Nexus|S3) build logs: .*)" - builder: name: lf-infra-package-listing @@ -222,6 +223,30 @@ - shell: !include-raw-escape: ../shell/maven-central.sh - lf-provide-maven-settings-cleanup +- builder: + name: lf-packagecloud-file-provider + builders: + - config-file-provider: + files: + - file-id: ".packagecloud" + target: "$HOME/.packagecloud" + - config-file-provider: + files: + - file-id: "packagecloud_api" + target: "$HOME/packagecloud_api" + +- builder: + name: lf-packagecloud-push + builders: + - inject: + properties-content: | + BUILD_DIR={build-dir} + PACKAGECLOUD_ACCOUNT={packagecloud-account} + PACKAGECLOUD_REPO={packagecloud-repo} + DEBIAN_DISTRIBUTION_VERSIONS={debian-distribution-versions} + RPM_DISTRIBUTION_VERSIONS={rpm-distribution-versions} + - shell: !include-raw-escape: ../shell/packagecloud-push.sh + - builder: name: lf-maven-install builders: @@ -369,6 +394,29 @@ # PARAMETERS # ############## +- parameter: + name: lf-autotools-parameters + # Parameters for configure-make builds. + parameters: + - string: + name: CONFIGURE_OPTS + default: "{configure-opts}" + description: | + Options to pass to configure. + Example: --build=i686-pc-linux-gnu + - string: + name: INSTALL_PREFIX + default: "{install-prefix}" + description: | + Install prefix for configure. + Usually a workspace subdirectory. + - string: + name: MAKE_OPTS + default: "{make-opts}" + description: | + Options to pass to make. + Example: -j8 all + - parameter: name: lf-clm-parameters parameters: