aaa
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
a4db5f534f
commit
0eb13b8fa0
|
@ -75,9 +75,9 @@ pipeline {
|
||||||
passwordVariable: 'API_TOKEN_PASS'
|
passwordVariable: 'API_TOKEN_PASS'
|
||||||
)]) {
|
)]) {
|
||||||
sh '''
|
sh '''
|
||||||
curl -H "Authorization: Bearer $API_TOKEN_PASS" -H "Content-Type: application/json" \
|
curl -H 'Authorization: Bearer $API_TOKEN_PASS' -H 'Content-Type: application/json' \
|
||||||
-X POST "https://api.digitalocean.com/v2/apps/$APP_ID/deployments" \
|
-X POST 'https://api.digitalocean.com/v2/apps/$APP_ID/deployments' \
|
||||||
-d "{ "force_build" : true }"
|
-d '{ \"force_build\" : true }'
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue