From 42b12a606a9eb9572c63dd249dcb23091eeec359 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Fri, 19 Jul 2024 10:43:44 +0800 Subject: [PATCH] fix add output on ctest failure --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index d922949..0b6bd2c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,7 +29,7 @@ pipeline { } stage('Test') { steps { - sh 'cd build && ctest -j `nproc --ignore=4`' + sh 'cd build && ctest --output-on-failure -j `nproc --ignore=4`' } } stage('Benchmark') {