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
1d1e61632f
commit
c4ec01e0a2
@ -25,7 +25,7 @@ FILENAME=`ls ${PROJECT}*.hpi`
|
|||||||
VERSION=`echo ${FILENAME} | sed -n "s/${PROJECT}-\(.*\).hpi/\1/p"`
|
VERSION=`echo ${FILENAME} | sed -n "s/${PROJECT}-\(.*\).hpi/\1/p"`
|
||||||
|
|
||||||
curl -X PUT \
|
curl -X PUT \
|
||||||
-u --config ${REPO_CRED_FILE} \
|
--config ${REPO_CRED_FILE} \
|
||||||
--data-binary @${FILENAME} \
|
--data-binary @${FILENAME} \
|
||||||
-i "${REPO_URL}/${PROJECT}/${VERSION}/${FILENAME}" > /dev/null 2>&1
|
-i "${REPO_URL}/${PROJECT}/${VERSION}/${FILENAME}" > /dev/null 2>&1
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user