aa
Apps/everybody-mov/pipeline/head This commit looks good Details

This commit is contained in:
Amber McCloughan 2022-09-04 01:28:15 -04:00
parent d9c9b3390f
commit fd8ed51ec0
1 changed files with 5 additions and 5 deletions

10
Jenkinsfile vendored
View File

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