aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Hansen <tony@att.com>2017-10-24 16:30:50 +0000
committerTony Hansen <tony@att.com>2017-10-24 16:37:15 +0000
commit64c939dbb9ac098734d43bf7e78827eb6df98d97 (patch)
treed13295c238c550a557c28579d5d6cea98b97ba63
parente06dd3678e216a44c61464f82a126869ade50345 (diff)
test another fix for curl upload commands
add -v option for curl DO NOT MERGE THIS VERSION YET Change-Id: I856d33595250bffb4a7398a278e86bc84dbe4356 Signed-off-by: Tony Hansen <tony@att.com> Issue-ID: CCSDK-128 Signed-off-by: Tony Hansen <tony@att.com>
-rw-r--r--makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/makefile b/makefile
index 8ed6c61..6a2800e 100644
--- a/makefile
+++ b/makefile
@@ -58,9 +58,11 @@ deploy:
REPO=$$MVN_NEXUSPROXY/content/sites/raw/$$MVN_PROJECT_GROUPID/$$subdir/debs ; \
REPO2=$$MVN_NEXUSPROXY/content/sites/raw/$$MVN_PROJECT_GROUPID/debs ; \
REPO3=$$MVN_NEXUSPROXY/content/sites/raw/$$MVN_PROJECT_GROUPID/plugins/pgaas ; \
- export REPACKAGEDEBIANUPLOAD="set -x; curl -X PUT -H 'Content-Type:application/octet-stream' --netrc --upload-file '{0}' --url '$$REPO/{1}'" ; \
- export REPACKAGEDEBIANUPLOAD2="set -x; curl -X PUT -H 'Content-Type:application/octet-stream' --netrc --upload-file '{0}' --url '$$REPO2/{1}'" ; \
- export REPACKAGEDEBIANUPLOAD3="set -x; curl -X PUT -H 'Content-Type:application/octet-stream' --netrc --upload-file '{0}' --url '$$REPO3/{1}'" ; \
+ REPO4=$$MVN_NEXUSPROXY/content/sites/raw/$$MVN_PROJECT_GROUPID/plugins ; \
+ export REPACKAGEDEBIANUPLOAD="set -x; curl -v -X PUT -H 'Content-Type:application/octet-stream' --netrc --upload-file '{0}' --url '$$REPO/{1}'" ; \
+ export REPACKAGEDEBIANUPLOAD2="set -x; curl -v -X PUT -H 'Content-Type:application/octet-stream' --netrc --upload-file '{0}' --url '$$REPO2/{1}'" ; \
+ export REPACKAGEDEBIANUPLOAD3="set -x; curl -v -X PUT -H 'Content-Type:application/octet-stream' --netrc --upload-file '{0}' --url '$$REPO3/{1}'" ; \
+ export REPACKAGEDEBIANUPLOAD4="set -x; curl -v -X PUT -H 'Content-Type:application/octet-stream' --netrc --upload-file '{0}' --url '$$REPO4/{1}'" ; \
export PATH=$$PATH:$$(pwd)/bin; \
env | sort ; \
for i in $(STAGEDIRS); do ( cd $$i/src && $(MAKE) debian ) done