Skip to content

Commit 224e581

Browse files
authored
Tests: Fix sporadic failures to find docker (#2836)
1 parent 0a53c7d commit 224e581

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,15 +412,15 @@ pipeline {
412412
!skipRemainingStages
413413
}
414414
}
415-
agent { label 'linux' }
415+
agent { label 'linux && docker' }
416416
steps {
417417
script {
418418
unstash 'MathSetup'
419419
def tests = [:]
420420
def files = sh(script:"find test/prob/* -type d", returnStdout:true).trim().split('\n')
421421
for (f in files.toList().collate(8)) {
422422
def names = f.join(" ")
423-
tests["Distribution Tests: ${names}"] = { node {
423+
tests["Distribution Tests: ${names}"] = { node ("linux && docker") {
424424
docker.image('stanorg/ci:gpu-cpp17').inside {
425425
unstash 'MathSetup'
426426
sh """

0 commit comments

Comments
 (0)