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 }" + ''' } } }