To reduce risk of a release getting stuck in an intermediate state on bintray, make all official releases to maven central.
12 lines
226 B
Bash
Executable File
12 lines
226 B
Bash
Executable File
#!/bin/bash -x
|
|
|
|
set -euo pipefail
|
|
|
|
#
|
|
# Deploy the artifactory
|
|
#
|
|
echo 'Deploying to Artifactory...'
|
|
|
|
MAVEN_OPTS="-Duser.name=jenkins -Duser.home=/tmp/jenkins-home" \
|
|
./mvnw -P${PROFILE} -Dmaven.test.skip=true clean deploy -B
|