]> https://gitweb.dealii.org/ - dealii.git/commitdiff
[CI]: expose tests in Jenkins 7715/head
authorTimo Heister <timo.heister@gmail.com>
Sat, 9 Feb 2019 17:48:12 +0000 (10:48 -0700)
committerTimo Heister <timo.heister@gmail.com>
Tue, 12 Feb 2019 23:49:26 +0000 (16:49 -0700)
Jenkinsfile

index 9e3e48848fc84217241922b15118f556a625854f..e6f70559f4e0a7c1f0cac65051642136270a6ea4 100644 (file)
@@ -76,7 +76,15 @@ pipeline
               image 'tjhei/candi:v9.0.1-r4'
             }
           }
-          post { cleanup { cleanWs() } }
+          post {
+         always {
+           sh "cp /home/dealii/build/Testing/*/*.xml $WORKSPACE/serial.xml || true"
+           xunit tools: [CTest(pattern: '*.xml')]
+           }
+         cleanup {
+           cleanWs()
+         }
+         }
 
           steps
           {
@@ -97,7 +105,7 @@ pipeline
                  $WORKSPACE/
                time ninja -j $NP
                time ninja setup_tests
-               time ctest --output-on-failure -DDESCRIPTION="CI-$JOB_NAME" -j $NP
+               time ctest --output-on-failure -DDESCRIPTION="CI-$JOB_NAME" -j $NP --no-compress-output -T test
             '''
           }
           }
@@ -113,7 +121,15 @@ pipeline
               image 'tjhei/candi:v9.0.1-r4'
             }
           }
-          post { cleanup { cleanWs() } }
+          post {
+         always {
+           sh "cp /home/dealii/build/Testing/*/*.xml $WORKSPACE/mpi.xml || true"
+           xunit tools: [CTest(pattern: '*.xml')]
+         }
+         cleanup {
+           cleanWs()
+         }
+         }
 
           steps
           {
@@ -132,10 +148,11 @@ pipeline
                   $WORKSPACE/
                 time ninja -j $NP
                 time ninja setup_tests
-                time ctest -R "all-headers|multigrid/transfer" --output-on-failure -DDESCRIPTION="CI-$JOB_NAME" -j $NP
+                time ctest -R "all-headers|multigrid/transfer" --output-on-failure -DDESCRIPTION="CI-$JOB_NAME" -j $NP --no-compress-output -T test
             '''
           }
           }
+
         }
 
       }

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.