mirror of
https://github.com/triqs/dft_tools
synced 2024-12-21 20:03:41 +01:00
[jenkins] Add CTEST_OUTPUT_ON_FAILURE=1
This commit is contained in:
parent
e61c3a7851
commit
3539ffd336
@ -7,6 +7,6 @@ WORKDIR $BUILD/$APPNAME
|
|||||||
RUN chown build .
|
RUN chown build .
|
||||||
USER build
|
USER build
|
||||||
ARG BUILD_DOC=0
|
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
|
USER root
|
||||||
RUN make install
|
RUN make install
|
||||||
|
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -68,7 +68,7 @@ for (int i = 0; i < osxPlatforms.size(); i++) {
|
|||||||
sh "cmake $srcDir -DCMAKE_INSTALL_PREFIX=$installDir -DTRIQS_ROOT=$triqsDir"
|
sh "cmake $srcDir -DCMAKE_INSTALL_PREFIX=$installDir -DTRIQS_ROOT=$triqsDir"
|
||||||
sh "make -j3"
|
sh "make -j3"
|
||||||
try {
|
try {
|
||||||
sh "make test"
|
sh "make test CTEST_OUTPUT_ON_FAILURE=1"
|
||||||
} catch (exc) {
|
} catch (exc) {
|
||||||
archiveArtifacts(artifacts: 'Testing/Temporary/LastTest.log')
|
archiveArtifacts(artifacts: 'Testing/Temporary/LastTest.log')
|
||||||
throw exc
|
throw exc
|
||||||
@ -124,7 +124,7 @@ Check console output at \$BUILD_URL to view full results.
|
|||||||
Building \$BRANCH_NAME for \$CAUSE
|
Building \$BRANCH_NAME for \$CAUSE
|
||||||
\$JOB_DESCRIPTION
|
\$JOB_DESCRIPTION
|
||||||
|
|
||||||
Chages:
|
Changes:
|
||||||
\$CHANGES
|
\$CHANGES
|
||||||
|
|
||||||
End of build log:
|
End of build log:
|
||||||
|
Loading…
Reference in New Issue
Block a user