diff --git a/Jenkinsfile b/Jenkinsfile index 3a3709b..36e66b7 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -85,10 +85,9 @@ pipeline { } } } - post { - always { - cleanWs() - } + post { + success { updateGithubCommitStatus(GITHUB_URL, 'Passed build and test', 'SUCCESS') } + failure { updateGithubCommitStatus(GITHUB_URL, 'Failed build and test', 'FAILURE') } } }