Skip to content

Commit

Permalink
Try adding block to fix ssh issue
Browse files Browse the repository at this point in the history
Fixed big commerce upload issue
  • Loading branch information
Ryan committed Jun 15, 2018
1 parent 5f26bef commit ebdf899
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ apply plugin: 'checkstyle'
apply plugin: 'maven'
apply plugin: 'signing'

ssh.settings {
knownHosts = allowAnyHosts
}

version = "${SEMVER}".replace("_", ".")

Expand Down Expand Up @@ -667,7 +670,7 @@ task uploadCommerceZip(dependsOn: zipJar) {

doLast {
// Upload zip file to the big commerce site
def curlS = ['curl', '-T', projectDir.absolutePath + "/${STAGE}/sweetblue_commercial.zip", "--digest", "https://sweetblue%40idevicesinc.com:${COMMERCE_PW}@solutions.idevicesinc.com/dav/product_downloads/s/sweetblue.zip"]
def curlS = ['curl', '-T', projectDir.absolutePath + "/${STAGE}/sweetblue_commercial.zip", "--http1.1", "--digest", "https://sweetblue%40idevicesinc.com:${COMMERCE_PW}@solutions.idevicesinc.com/dav/product_downloads/s/sweetblue.zip"]
def curl = curlS.execute()
curl.waitFor()
if (curl.exitValue() != 0) {
Expand Down

0 comments on commit ebdf899

Please sign in to comment.