fix upload to jenkins-ci bug.
The '-u' option was making curl prompt for a password, which we don't want. Remove the '-u' option to automatically pass in jenkins user credentials to curl via the config file. Change-Id: I5766bcfef561e6ac10b49c958394d9601e62e1b5
This commit is contained in:
parent
76c9f3f693
commit
4f46000db2
@ -25,7 +25,7 @@ FILENAME=`ls ${PROJECT}*.hpi`
|
||||
VERSION=`echo ${FILENAME} | sed -n "s/${PROJECT}-\(.*\).hpi/\1/p"`
|
||||
|
||||
curl -X PUT \
|
||||
-u --config ${REPO_CRED_FILE} \
|
||||
--config ${REPO_CRED_FILE} \
|
||||
--data-binary @${FILENAME} \
|
||||
-i "${REPO_URL}/${PROJECT}/${VERSION}/${FILENAME}" > /dev/null 2>&1
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user