aboutsummaryrefslogtreecommitdiffstats
path: root/screwdriver/release-java-artifacts.sh
diff options
context:
space:
mode:
authorArnstein Ressem <aressem@verizonmedia.com>2021-10-20 10:22:58 +0200
committerArnstein Ressem <aressem@verizonmedia.com>2021-10-20 10:22:58 +0200
commit85d758e65dce6ae2135e26f9c6c9739e9f2fd83b (patch)
tree0f23be6d9c8d72cc090f1f3ae03e32e6a86c54ac /screwdriver/release-java-artifacts.sh
parent9b02489489bf59c7bf208aaba4bd07f98f884132 (diff)
Test skipping the local staging storage as we do explicit close of the remote repo after finishing.
Diffstat (limited to 'screwdriver/release-java-artifacts.sh')
-rwxr-xr-xscrewdriver/release-java-artifacts.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/screwdriver/release-java-artifacts.sh b/screwdriver/release-java-artifacts.sh
index a91585d6ad5..afb456699b8 100755
--- a/screwdriver/release-java-artifacts.sh
+++ b/screwdriver/release-java-artifacts.sh
@@ -51,10 +51,10 @@ STG_REPO=$(cat $TMPFILE | grep 'Staging repository at http' | head -1 | awk -F/
rm -f $TMPFILE
# Deploy plugins
-mvn $COMMON_MAVEN_OPTS --file ./maven-plugins/pom.xml -DskipStagingRepositoryClose=true -DstagingRepositoryId=$STG_REPO deploy
+mvn $COMMON_MAVEN_OPTS --file ./maven-plugins/pom.xml -DskipLocalStaging=true -DskipStagingRepositoryClose=true -DstagingRepositoryId=$STG_REPO deploy
# Deploy the rest of the artifacts
-mvn $COMMON_MAVEN_OPTS --threads 1C -DskipStagingRepositoryClose=true -DstagingRepositoryId=$STG_REPO deploy
+mvn $COMMON_MAVEN_OPTS --threads 1C -DskipLocalStaging=true -DskipStagingRepositoryClose=true -DstagingRepositoryId=$STG_REPO deploy
# Close with checks
mvn $COMMON_MAVEN_OPTS -N org.sonatype.plugins:nexus-staging-maven-plugin:rc-close -DnexusUrl=https://oss.sonatype.org/ -DserverId=ossrh -DstagingRepositoryId=$STG_REPO