This needs to be configured in defaults.yaml to get the right one.
Change-Id: I8d54118999eb912c3074c4bb2f9b5237bea93ebe
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
lftools-version: '<1.0.0'
mvn-site-id: project-site
lftools-version: '<1.0.0'
mvn-site-id: project-site
+ mvn-staging-id: project-staging
# Common test config
project: releng/ciman
# Common test config
project: releng/ciman
</org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
<EnvInjectBuilder>
<info>
</org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
<EnvInjectBuilder>
<info>
- <propertiesContent>SERVER_ID=opendaylight-staging</propertiesContent>
+ <propertiesContent>SERVER_ID=project-staging</propertiesContent>
</info>
</EnvInjectBuilder>
<hudson.tasks.Shell>
</info>
</EnvInjectBuilder>
<hudson.tasks.Shell>
</org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
<EnvInjectBuilder>
<info>
</org.jenkinsci.plugins.configfiles.builder.ConfigFileBuildStep>
<EnvInjectBuilder>
<info>
- <propertiesContent>SERVER_ID=opendaylight-staging</propertiesContent>
+ <propertiesContent>SERVER_ID=project-staging</propertiesContent>
</info>
</EnvInjectBuilder>
<hudson.tasks.Shell>
</info>
</EnvInjectBuilder>
<hudson.tasks.Shell>
**mvn-site-id**: Maven Server ID from settings.xml containing the credentials
to push to a Maven site repository.
**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.
+
# directory can then be reused later to deploy to Nexus.
#
# Required parameters:
# 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.
#
# Optional parameters:
# :gerrit_verify_triggers: Override Gerrit Triggers.
global-settings-file: '{mvn-global-settings}'
settings-file: '{mvn-settings}'
- lf-infra-create-netrc:
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
- shell: !include-raw-escape:
- ../shell/lftools-install.sh
- ../shell/common-variables.sh