jenkins: publish github status always first
need a result first, before we (potentially fail) to publish tests
This commit is contained in:
parent
b8461da137
commit
10b63667b5
7
tests/gadget-zero/Jenkinsfile
vendored
7
tests/gadget-zero/Jenkinsfile
vendored
@ -72,14 +72,13 @@ pipeline {
|
||||
}
|
||||
post {
|
||||
always {
|
||||
junit 'tests/gadget-zero/tests/*/TEST-*.xml'
|
||||
step([
|
||||
$class: "GitHubCommitStatusSetter",
|
||||
step([$class: "GitHubCommitStatusSetter",
|
||||
commitShaSource: [$class: "ManuallyEnteredShaSource", sha: "$pr_from_sha"],
|
||||
reposSource: [$class: "ManuallyEnteredRepositorySource", url: "https://github.com/libopencm3/libopencm3"],
|
||||
reposSource: [$class: "ManuallyEnteredRepositorySource", url: "https://github.com/libopencm3/libopencm3"],
|
||||
contextSource: [$class: "DefaultCommitContextSource"],
|
||||
statusResultSource: [ $class: "DefaultStatusResultSource"]
|
||||
]);
|
||||
junit 'tests/gadget-zero/tests/*/TEST-*.xml'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user