Skip to content

Commit 473c492

Browse files
author
Vitor Bandeira
committed
test
Signed-off-by: Vitor Bandeira <[email protected]>
1 parent 1bd1094 commit 473c492

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Jenkinsfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,10 +227,10 @@ node {
227227
}
228228
}
229229
parallel(build_docker_images);
230+
archiveArtifacts artifacts: 'persistent';
230231
DOCKER_IMAGE = dockerPush('ubuntu22.04', 'openroad');
231232
echo "Docker image is ${DOCKER_IMAGE}";
232233
}
233-
parallel(getParallelTests(DOCKER_IMAGE));
234234
stage('Send Email Report') {
235235
sendEmail();
236236
}

etc/DockerHelper.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ _test() {
142142
echo "Could not find ${imagePath}, will attempt to create it" >&2
143143
_create
144144
fi
145-
docker run --rm "${imagePath}" "./docker/test_wrapper.sh" "${compiler}" "ctest --test-dir build -j ${numThreads}"
145+
mkdir -p persistent
146+
docker run --rm -v $(pwd)/persistent:/mnt "${imagePath}" "./docker/test_wrapper.sh" "${compiler}" "ctest --test-dir build -j ${numThreads} ; mv build persistent/${imageName}"
146147
}
147148

148149
_checkFromImage() {

0 commit comments

Comments
 (0)