From fd8ed51ec086abe9e68ca00c5d454cb2aef1eb09 Mon Sep 17 00:00:00 2001 From: Amber Date: Sun, 4 Sep 2022 01:28:15 -0400 Subject: [PATCH] aa --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 11b5500..cedcf1b 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -74,11 +74,11 @@ pipeline { usernameVariable: 'API_TOKEN_USER', passwordVariable: 'API_TOKEN_PASS' )]) { - sh """ - curl -H 'Authorization: Bearer $API_TOKEN_PASS' -H 'Content-Type: application/json' \ - -X POST 'https://api.digitalocean.com/v2/apps/$APP_ID/deployments' \ - -d '{ \"force_build\" : true }' - """ + sh ''' + curl -H "Authorization: Bearer $API_TOKEN_PASS" -H "Content-Type: application/json" \ + -X POST "https://api.digitalocean.com/v2/apps/$APP_ID/deployments" \ + -d "{ \\"force_build\\" : true }" + ''' } } }