Skip to content

Commit 4e2621d

Browse files
author
Matthew Sackman
committed
Unset proxies for nexus upload because traffic for sonatype has to be bounced via ssh tunnels anyway because of a maven issue, and there was subsequent pain owing to curl, hosts files, localhost, and proxies
1 parent 2d74335 commit 4e2621d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

nexus-upload.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ set -e
99
# GNUPG_PATH -- the path to the home directory for gnupg
1010

1111
NEXUS_ROOT="http://$CREDS@oss.sonatype.org/service/local/staging/deploy/maven2/com/rabbitmq/amqp-client/$VERSION"
12+
unset http_proxy
13+
unset https_proxy
14+
unset no_proxy
1215

1316
for artifact in $@; do
1417
echo "Uploading $artifact"

0 commit comments

Comments
 (0)