+- builder:
+ name: lf-maven-central
+ builders:
+ - conditional-step:
+ condition-kind: boolean-expression
+ condition-expression: "{mvn-central}"
+ steps:
+ - lf-provide-maven-settings:
+ global-settings-file: "{mvn-global-settings}"
+ settings-file: "{mvn-settings}"
+ - lf-infra-create-netrc:
+ server-id: "ossrh"
+ - inject:
+ properties-content: "OSSRH_PROFILE_ID={ossrh-profile-id}"
+ - 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
+