From eff5f3429b76112f714500b59e4c602ab18e172c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cenk=20G=C3=BCndo=C4=9Fan?= Date: Wed, 18 Jan 2017 23:16:37 +0100 Subject: [PATCH] jenkins: remove extra githubNotify --- Jenkinsfile | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index ef4eee684c..2e08c8eba4 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -9,8 +9,6 @@ def periph_tests = [] def other_tests = [] def unittests = [] -githubNotify context: 'Jenkins', description: 'Build started', status: 'PENDING', targetUrl: "${env.BUILD_URL}artifact" - /* stop running jobs */ abortPreviousBuilds() @@ -148,17 +146,9 @@ stage("examples") { abortOnError("examples failed") } -def buildState = 'SUCCESS' - if (currentBuild.result == null) { currentBuild.result = 'SUCCESS' } -else if (currentBuild.result != 'SUCCESS') { - buildState = 'FAILURE' -} - -/* set commit status in GitHub with url pointing to logs manually (necessary workaround for now) */ -githubNotify context: 'Jenkins', description: "${currentBuild.result}", status: buildState, targetUrl: "${env.BUILD_URL}artifact" /* create a job */ def make_build(label, board, desc, arg) @@ -222,7 +212,6 @@ def abortPreviousBuilds() def abortOnError(msg) { if ((currentBuild.result != null) && (currentBuild.result == 'FAILURE')) { - githubNotify context: 'Jenkins', description: msg, status: 'FAILURE', targetUrl: "${env.BUILD_URL}artifact" error msg } }