- builder:
name: lf-infra-ship-logs
builders:
+ # Ensure no pre-existing .netrc files are overriding logs config
+ - lf-provide-maven-settings-cleanup
- config-file-provider:
files:
- file-id: 'jenkins-log-archives-settings'
- ../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-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-maven-install
builders:
- shell: !include-raw-escape: ../shell/sigul-configuration.sh
- shell: !include-raw-escape: ../shell/sigul-install.sh
- inject:
- properties-content: SIGN_DIR={sign-dir}
+ properties-content: |
+ SIGN_DIR={sign-dir}
+ SIGN_MODE={sign-mode}
- shell: !include-raw-escape:
- - ../shell/common-variables.sh
- ../shell/sigul-sign-dir.sh
- shell: !include-raw-escape: ../shell/sigul-configuration-cleanup.sh