curl error handling
This commit is contained in:
@@ -55,7 +55,7 @@ tasks:
|
|||||||
description: "Release Version"
|
description: "Release Version"
|
||||||
exec: "curl"
|
exec: "curl"
|
||||||
args:
|
args:
|
||||||
- "-sS"
|
- "-sSf"
|
||||||
- "-X"
|
- "-X"
|
||||||
- "POST"
|
- "POST"
|
||||||
- "-H"
|
- "-H"
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ tasks:
|
|||||||
description: "Upload Tar File"
|
description: "Upload Tar File"
|
||||||
exec: "curl"
|
exec: "curl"
|
||||||
args:
|
args:
|
||||||
- "-sS"
|
- "-sSf"
|
||||||
- "-X"
|
- "-X"
|
||||||
- "PUT"
|
- "PUT"
|
||||||
- "-H"
|
- "-H"
|
||||||
@@ -62,7 +62,7 @@ tasks:
|
|||||||
description: "Upload Checksum File"
|
description: "Upload Checksum File"
|
||||||
exec: "curl"
|
exec: "curl"
|
||||||
args:
|
args:
|
||||||
- "-sS"
|
- "-sSf"
|
||||||
- "-X"
|
- "-X"
|
||||||
- "PUT"
|
- "PUT"
|
||||||
- "-H"
|
- "-H"
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ tasks:
|
|||||||
exec: "curl"
|
exec: "curl"
|
||||||
hideStdout: true
|
hideStdout: true
|
||||||
args:
|
args:
|
||||||
- "-s"
|
- "-sSf"
|
||||||
- "$(settings.api_url)"
|
- "$(settings.api_url)"
|
||||||
parsers:
|
parsers:
|
||||||
- name: "Get Download URL"
|
- name: "Get Download URL"
|
||||||
@@ -47,7 +47,7 @@ tasks:
|
|||||||
exec: "curl"
|
exec: "curl"
|
||||||
args:
|
args:
|
||||||
- "-L"
|
- "-L"
|
||||||
- "--silent"
|
- "-sSf"
|
||||||
- "-o"
|
- "-o"
|
||||||
- "$(tempdir())/$(archive_file)"
|
- "$(tempdir())/$(archive_file)"
|
||||||
- "$(download_url)"
|
- "$(download_url)"
|
||||||
@@ -80,7 +80,7 @@ tasks:
|
|||||||
description: "Upload application $(archive_file)"
|
description: "Upload application $(archive_file)"
|
||||||
exec: "curl"
|
exec: "curl"
|
||||||
args:
|
args:
|
||||||
- "-sS"
|
- "-sSf"
|
||||||
- "-H"
|
- "-H"
|
||||||
- "Authorization: token $(decrypt(gitToken,keyfile))"
|
- "Authorization: token $(decrypt(gitToken,keyfile))"
|
||||||
- "--upload-file"
|
- "--upload-file"
|
||||||
@@ -91,7 +91,7 @@ tasks:
|
|||||||
description: "Upload checksum $(sha256_file)"
|
description: "Upload checksum $(sha256_file)"
|
||||||
exec: "curl"
|
exec: "curl"
|
||||||
args:
|
args:
|
||||||
- "-sS"
|
- "-sSf"
|
||||||
- "-H"
|
- "-H"
|
||||||
- "Authorization: token $(decrypt(gitToken,keyfile))"
|
- "Authorization: token $(decrypt(gitToken,keyfile))"
|
||||||
- "--upload-file"
|
- "--upload-file"
|
||||||
|
|||||||
Reference in New Issue
Block a user