aa
Apps/everybody-mov/pipeline/head This commit looks good
Details
Apps/everybody-mov/pipeline/head This commit looks good
Details
This commit is contained in:
parent
d9c9b3390f
commit
fd8ed51ec0
|
@ -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 }"
|
||||
'''
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue