Skip to content

Commit 14b2157

Browse files
authored
[CI] Disable tracked branch jobs in Jenkins, enable reporting in Buildkite (elastic#112604)
1 parent 924ad66 commit 14b2157

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.buildkite/scripts/lifecycle/post_command.sh

+1-2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,5 @@ if [[ "$IS_TEST_EXECUTION_STEP" == "true" ]]; then
2222
buildkite-agent artifact upload 'x-pack/test/functional/failure_debug/html/*.html'
2323
buildkite-agent artifact upload '.es/**/*.hprof'
2424

25-
# TODO - re-enable when Jenkins is disabled
26-
# node scripts/report_failed_tests --build-url="${BUILDKITE_BUILD_URL}#${BUILDKITE_JOB_ID}" 'target/junit/**/*.xml'
25+
node scripts/report_failed_tests --build-url="${BUILDKITE_BUILD_URL}#${BUILDKITE_JOB_ID}" 'target/junit/**/*.xml'
2726
fi

Jenkinsfile

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
#!/bin/groovy
22

3+
if (!env.ghprbPullId) {
4+
print "Non-PR builds are now in Buildkite."
5+
return
6+
}
7+
38
library 'kibana-pipeline-library'
49
kibanaLibrary.load()
510

0 commit comments

Comments
 (0)