diff options
author | Arnstein Ressem <aressem@verizonmedia.com> | 2021-10-20 10:22:58 +0200 |
---|---|---|
committer | Arnstein Ressem <aressem@verizonmedia.com> | 2021-10-20 10:22:58 +0200 |
commit | 85d758e65dce6ae2135e26f9c6c9739e9f2fd83b (patch) | |
tree | 0f23be6d9c8d72cc090f1f3ae03e32e6a86c54ac /screwdriver | |
parent | 9b02489489bf59c7bf208aaba4bd07f98f884132 (diff) |
Test skipping the local staging storage as we do explicit close of the remote repo after finishing.
Diffstat (limited to 'screwdriver')
-rwxr-xr-x | screwdriver/release-java-artifacts.sh | 4 |
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 |