mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 15:25:49 +00:00
new token
This commit is contained in:
parent
db3a2dec91
commit
1fc71c266f
1 changed files with 2 additions and 2 deletions
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
|
@ -36,7 +36,7 @@ pipeline {
|
|||
success {
|
||||
echo 'I succeeeded!'
|
||||
// For GitHub
|
||||
sh 'curl "https://api.GitHub.com/repos/daphneaugier/spring-petclinic/statuses/$GIT_COMMIT?access_token=4d88d2b679c35732e8b50e62cd60f18907d03a55" \
|
||||
sh 'curl "https://api.GitHub.com/repos/daphneaugier/spring-petclinic/statuses/$GIT_COMMIT?access_token=6498e782a35f28fdd2d00abbc8893806f5f77e52" \
|
||||
-H "Content-Type: application/json" \
|
||||
-X POST \
|
||||
-d "{\"state\": \"success\",\"context\": \"continuous-integration/jenkins\", \"description\": \"Jenkins\", \"target_url\": \"http://localhost:9090/job/spring-petclinic/$BUILD_NUMBER/console\"}"'
|
||||
|
@ -51,7 +51,7 @@ sh 'curl "https://api.GitHub.com/repos/daphneaugier/spring-petclinic/statuses/$G
|
|||
failure {
|
||||
echo 'I failed :('
|
||||
// For GitHub
|
||||
sh 'curl "https://api.GitHub.com/repos/daphneaugier/spring-petclinic/statuses/$GIT_COMMIT" \
|
||||
sh 'curl "https://api.GitHub.com/repos/daphneaugier/spring-petclinic/statuses/$GIT_COMMIT?access_token=6498e782a35f28fdd2d00abbc8893806f5f77e52" \
|
||||
-H "Content-Type: application/json" \
|
||||
-X POST \
|
||||
-d "{\"state\": \"failure\",\"context\": \"continuous-integration/jenkins\", \"description\": \"Jenkins\", \"target_url\": \"http://localhost:9090/job/spring-petclinic/$BUILD_NUMBER/console\"}"'
|
||||
|
|
Loading…
Reference in a new issue