diff --git a/tests/gadget-zero/Jenkinsfile b/tests/gadget-zero/Jenkinsfile index 49a5fa36..d804bd00 100644 --- a/tests/gadget-zero/Jenkinsfile +++ b/tests/gadget-zero/Jenkinsfile @@ -9,9 +9,15 @@ pipeline { stages { stage('checkout') { steps { - sh "echo karl we are building $pr_from_sha" - checkout([$class: 'GitSCM', branches: [[name: "$pr_from_sha"]], userRemoteConfigs: [[url: "$pr_from_git_url"]]]) - step([$class: 'GitHubSetCommitStatusBuilder']) + sh "echo karl we are building $pr_from_sha" + checkout([$class: 'GitSCM', branches: [[name: "$pr_from_sha"]], userRemoteConfigs: [[url: "$pr_from_git_url"]]]) + step([ + class: "GitHubCommitStatusSetter", + commitShaSource: [$class: "ManuallyEnteredShaSource", sha: "$pr_from_sha"], + reposSource: [$class: "ManuallyEnteredRepositorySource", url: "$pr_from_git_url"], + contextSource: [$class: "DefaultCommitContextSource"], + statusResultSource: [ $class: "DefaultStatusResultSource"] + ]); } } stage('prepare') {