You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
booleanParam(defaultValue: false, name: 'withRowVector', description: 'Run additional distribution tests on RowVectors (takes 5x as long)')
39
39
booleanParam(defaultValue: false, name: 'disableJumbo', description: 'Disable Jumbo tests. This takes longer and should only be used for debugging if it is believed that the jumbo tests are causing failures.')
40
40
booleanParam(defaultValue: false, name: 'optimizeUnitTests', description: 'Use O=3 for unit tests (takex ~3x as long)')
41
+
booleanParam(defaultValue: false, name: 'runAllDistributions', description: 'Run all distribution tests, even ones which are unchanged compared to develop')
41
42
}
42
43
options {
43
44
skipDefaultCheckout()
44
45
preserveStashes(buildCount: 7)
45
-
parallelsAlwaysFailFast()
46
+
parallelsAlwaysFailFast()
46
47
}
47
48
environment {
48
49
STAN_NUM_THREADS=4
@@ -123,7 +124,7 @@ pipeline {
123
124
}
124
125
}
125
126
}
126
-
}
127
+
}
127
128
128
129
stage('Linting & Doc checks') {
129
130
agent {
@@ -445,6 +446,30 @@ pipeline {
445
446
}
446
447
}
447
448
449
+
stage ('Discover changed distribution tests') {
450
+
when {
451
+
expression {
452
+
!skipRemainingStages
453
+
}
454
+
}
455
+
agent {
456
+
docker {
457
+
image 'stanorg/ci:gpu-cpp17'
458
+
label 'linux'
459
+
}
460
+
}
461
+
steps {
462
+
script {
463
+
retry(3) { checkout scm }
464
+
if (params.runAllDistributions || isBranch('develop') || isBranch('master')) {
0 commit comments