mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 07:15:49 +00:00
rollback
This commit is contained in:
parent
71050dd241
commit
c65f2673ea
1 changed files with 1 additions and 5 deletions
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
|
@ -36,11 +36,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
success {
|
success {
|
||||||
echo 'I succeeeded!'
|
echo 'I succeeeded!'
|
||||||
// For GitHub
|
|
||||||
curl "https://api.GitHub.com/repos/daphneaugier/spring-petclinic/statuses/$GIT_COMMIT?access_token=<YOUR_GITHUB_TOKEN>" \
|
|
||||||
-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\"}"
|
|
||||||
// Email
|
// Email
|
||||||
mail to: 'daphne.augier@gmail.com',
|
mail to: 'daphne.augier@gmail.com',
|
||||||
subject: "Successful Pipeline: ${currentBuild.fullDisplayName}",
|
subject: "Successful Pipeline: ${currentBuild.fullDisplayName}",
|
||||||
|
|
Loading…
Reference in a new issue