**mvn-site-id**: Maven Server ID from settings.xml containing the credentials
to push to a Maven site repository.
+**mvn-staging-id**: Maven Server ID from settings.xml containing the credentials
+to push to a Maven staging repository.
+
defaults.yaml:
```
# directory can then be reused later to deploy to Nexus.
#
# Required parameters:
- # build-node: The node to run build on.
- # jenkins-ssh-credential: Credential to use for SSH. (Generally should
- # be configured in defaults.yaml)
- # mvn-settings: The name of settings file containing credentials for
- # the project.
- # staging-profile-id: Profile ID of the project's Nexus staging profile.
+ # :build-node: The node to run build on.
+ # :jenkins-ssh-credential: Credential to use for SSH. (Generally should
+ # be configured in defaults.yaml)
+ # :mvn-settings: The name of settings file containing credentials for
+ # the project.
+ # :mvn-staging-id: Maven Server ID from settings.xml to pull credentials from.
+ # (Note: This setting should be configured in defaults.yaml.)
+ # :staging-profile-id: Profile ID of the project's Nexus staging profile.
#
# Optional parameters:
# :gerrit_verify_triggers: Override Gerrit Triggers.
global-settings-file: '{mvn-global-settings}'
settings-file: '{mvn-settings}'
- lf-infra-create-netrc:
- server-id: opendaylight-staging
+ server-id: '{mvn-staging-id}'
- shell: !include-raw-escape:
- ../shell/lftools-install.sh
- ../shell/common-variables.sh