Skip to content

Commit

Permalink
Tests: Fix sporadic failures to find docker (#2836)
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Oct 25, 2022
1 parent 0a53c7d commit 224e581
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -412,15 +412,15 @@ pipeline {
!skipRemainingStages
}
}
agent { label 'linux' }
agent { label 'linux && docker' }
steps {
script {
unstash 'MathSetup'
def tests = [:]
def files = sh(script:"find test/prob/* -type d", returnStdout:true).trim().split('\n')
for (f in files.toList().collate(8)) {
def names = f.join(" ")
tests["Distribution Tests: ${names}"] = { node {
tests["Distribution Tests: ${names}"] = { node ("linux && docker") {
docker.image('stanorg/ci:gpu-cpp17').inside {
unstash 'MathSetup'
sh """
Expand Down

0 comments on commit 224e581

Please sign in to comment.