]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CI: Jenkins: set -x and set -e 9584/head
authorTimo Heister <timo.heister@gmail.com>
Sun, 1 Mar 2020 17:54:59 +0000 (12:54 -0500)
committerTimo Heister <timo.heister@gmail.com>
Sun, 1 Mar 2020 17:56:07 +0000 (12:56 -0500)
This is useful when browsing the build log to see the executed command

Jenkinsfile
contrib/ci/Jenkinsfile.osx
contrib/ci/Jenkinsfile.tidy

index a80e46653724dab9f5a555ef09439ce90f053a67..8504169272dbd1a06b38a75156241eabfcac784b 100644 (file)
@@ -129,6 +129,7 @@ pipeline
               '''
               sh '''#!/bin/bash
                  set -e
+                 set -x
                  export NP=`grep -c ^processor /proc/cpuinfo`
                  export TEST_TIME_LIMIT=1200
                  mkdir -p /home/dealii/build
@@ -184,6 +185,7 @@ pipeline
               sh "echo \"building on node ${env.NODE_NAME}\""
               sh '''#!/bin/bash
                   set -e
+                  set -x
                   export NP=`grep -c ^processor /proc/cpuinfo`
                   mkdir -p /home/dealii/build
                   cd /home/dealii/build
index 8258efbdb753e4187fc9c1336e68f7eb1663883d..b44e059ea19105527a31f2af00e03fc140ca43f0 100644 (file)
@@ -89,6 +89,7 @@ pipeline
               sh "echo \"building on node ${env.NODE_NAME}\""
               sh '''#!/bin/bash
                     set -e
+                    set -x
                     mkdir build && cd build
                     cmake \
                       -D DEAL_II_WITH_MPI=OFF \
index 6aa1179e43dd6bdc9c6344b7631168e343050def..0203f6e6ee5ad91f493eadf5a652b0a93ef8d512 100644 (file)
@@ -91,6 +91,8 @@ pipeline
             {
               sh "echo \"building on node ${env.NODE_NAME}\""
               sh '''#!/bin/bash
+                    set -e
+                    set -x
                     mkdir build && cd build
                     $WORKSPACE/contrib/utilities/run_clang_tidy.sh $WORKSPACE
                  '''

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.