Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Add a small wait in the Jenkinsfile used by multibranch/testResults.js
This is to ensure we don't hit random flaky fails due to JENKINS-36408
  • Loading branch information
tfennelly committed Dec 15, 2016
1 parent 6a8bf7b commit 5c7a215
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/test/resources/multibranch/test_results/Jenkinsfile
@@ -1,6 +1,16 @@
node {
stage 'Stage 1 - scm'
echo 'Stage 1 - scm'

//
// Need a small wait here so as not to hit JENKINS-36408.
// Without it, the build run SSE end events *can* arrive at the client
// before the it has finished processing the earlier events, which means
// the end events are meaningless to it.
//
sleep 2


checkout scm
stage 'Stage test'
echo 'stuff'
Expand Down

0 comments on commit 5c7a215

Please sign in to comment.