3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-18 12:03:50 +01:00

[jenkins] Add CTEST_OUTPUT_ON_FAILURE=1

This commit is contained in:
Dylan Simon 2018-11-29 14:20:35 -05:00
parent 16fe4b2eab
commit a42838a8db
2 changed files with 2 additions and 2 deletions

View File

@ -7,6 +7,6 @@ WORKDIR $BUILD/$APPNAME
RUN chown build .
USER build
ARG BUILD_DOC=0
RUN cmake $SRC/$APPNAME -DTRIQS_ROOT=${INSTALL} -DBuild_Documentation=${BUILD_DOC} && make -j2 && make test
RUN cmake $SRC/$APPNAME -DTRIQS_ROOT=${INSTALL} -DBuild_Documentation=${BUILD_DOC} && make -j2 && make test CTEST_OUTPUT_ON_FAILURE=1
USER root
RUN make install

2
Jenkinsfile vendored
View File

@ -75,7 +75,7 @@ for (int i = 0; i < osxPlatforms.size(); i++) {
sh "cmake $srcDir -DCMAKE_INSTALL_PREFIX=$installDir -DTRIQS_ROOT=$triqsDir"
sh "make -j3"
try {
sh "make test"
sh "make test CTEST_OUTPUT_ON_FAILURE=1"
} catch (exc) {
archiveArtifacts(artifacts: 'Testing/Temporary/LastTest.log')
throw exc