14 lines
357 B
Bash
Executable File
14 lines
357 B
Bash
Executable File
#!/bin/bash -x
|
|
|
|
set -euo pipefail
|
|
|
|
echo "Opening a remote repository for this release..."
|
|
|
|
MAVEN_OPTS="-Duser.name=spring-builds+jenkins -Duser.home=/tmp/jenkins-home" ./mvnw \
|
|
-s settings.xml \
|
|
-Pcentral \
|
|
-DstagingProfileId=${STAGING_PROFILE_ID} \
|
|
-DopenedRepositoryMessageFormat="<repository>%s</repository>" \
|
|
nexus-staging:rc-open
|
|
|