Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests: Fix sporadic failures to find docker #2836

Merged
merged 5 commits into from
Oct 25, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Label docker
  • Loading branch information
WardBrian committed Oct 25, 2022
commit 5e829f6d253d42259d3bfaa80c1da2fb435e97aa
48 changes: 24 additions & 24 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,13 @@ pipeline {
stash 'MathSetup'
sh "echo CXX=${CLANG_CXX} > make/local"
sh "echo BOOST_PARALLEL_JOBS=${PARALLEL} >> make/local"
parallel(
CppLint: { sh "make cpplint" },
Dependencies: { sh """#!/bin/bash
set -o pipefail
make test-math-dependencies 2>&1 | tee dependencies.log""" } ,
Documentation: { sh "make doxygen" },
)
// parallel(
// CppLint: { sh "make cpplint" },
// Dependencies: { sh """#!/bin/bash
// set -o pipefail
// make test-math-dependencies 2>&1 | tee dependencies.log""" } ,
// Documentation: { sh "make doxygen" },
// )
}
}
post {
Expand All @@ -157,25 +157,25 @@ pipeline {
}
}

stage('Verify changes') {
agent {
docker {
image 'stanorg/ci:gpu-cpp17'
label 'linux'
}
}
steps {
script {
// stage('Verify changes') {
// agent {
// docker {
// image 'stanorg/ci:gpu-cpp17'
// label 'linux'
// }
// }
// steps {
// script {

retry(3) { checkout scm }
sh 'git clean -xffd'
// retry(3) { checkout scm }
// sh 'git clean -xffd'

def paths = ['stan', 'make', 'lib', 'test', 'runTests.py', 'runChecks.py', 'makefile', 'Jenkinsfile', '.clang-format'].join(" ")
skipRemainingStages = utils.verifyChanges(paths)
// def paths = ['stan', 'make', 'lib', 'test', 'runTests.py', 'runChecks.py', 'makefile', 'Jenkinsfile', '.clang-format'].join(" ")
// skipRemainingStages = utils.verifyChanges(paths)

}
}
}
// }
// }
// }

// stage('Headers check') {
// agent {
Expand Down Expand Up @@ -421,7 +421,7 @@ pipeline {
for (f in files.toList().collate(8)) {
def names = f.join(" ")
tests["Distribution Tests: ${names}"] = { node {
label "linux"
label "docker"
docker.image('stanorg/ci:gpu-cpp17').inside {
unstash 'MathSetup'
sh """
Expand Down