From d9c9b3390f6cfe172edafacdc8ced106cc5a31f7 Mon Sep 17 00:00:00 2001 From: Amber Date: Sun, 4 Sep 2022 01:23:05 -0400 Subject: [PATCH] a --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 5c0e715..11b5500 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -74,11 +74,11 @@ pipeline { usernameVariable: 'API_TOKEN_USER', passwordVariable: 'API_TOKEN_PASS' )]) { - sh ''' + 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 }' - ''' + """ } } }