Skip to content

Commit

Permalink
Don't close nexus staging if uploading snapshot artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
gschueler committed Oct 11, 2017
1 parent 5cc8b39 commit 19dad50
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jenkins-build.sh
Expand Up @@ -33,7 +33,9 @@ elif [ "$REL" = "upload" ] ; then
${RELEASE_OPTS} uploadArchives

# close nexus staging repos
./gradlew ${PROXY_DEFS} --no-daemon ${RELEASE_OPTS} nexusStagingRelease
if [ "$RTAG" != "SNAPSHOT" ] ; then
./gradlew ${PROXY_DEFS} --no-daemon ${RELEASE_OPTS} nexusStagingRelease
fi
exit $?
else
./gradlew -Penvironment=build build
Expand Down

0 comments on commit 19dad50

Please sign in to comment.