mvn-opts: ''
mvn-params: ''
mvn-version: mvn35
+ nexus-iq-namespace: '' # Recommend a trailing dash when set. Example: odl-
nexus-iq-stage: 'build'
stream: master
submodule-recursive: true
- nexus-iq-policy-evaluator:
stage: '{nexus-iq-stage}'
application-type: 'manual'
- application-id: '{project-name}'
+ application-id: '{nexus-iq-namespace}{project-name}'
scan-patterns: '{obj:nexus_iq_scan_patterns}'
fail-build-network-error: true
git-url: '$GIT_URL/$PROJECT'
github-url: 'https://github.com'
java-version: openjdk8
+ mvn-central: false
mvn-global-settings: global-settings
mvn-goals: clean deploy
mvn-opts: ''
mvn-params: ''
mvn-version: mvn35
+ ossrh-profile-id: ''
sign-artifacts: false
stream: master
submodule-recursive: true
sign-artifacts: '{sign-artifacts}'
sign-dir: '$WORKSPACE/m2repo'
- lf-maven-stage
+ - 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
- lf-provide-maven-settings-cleanup
- job-template: