]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Improve indentation of Jenkinsfile 9582/head
authorDaniel Arndt <arndtd@ornl.gov>
Sun, 1 Mar 2020 15:48:20 +0000 (10:48 -0500)
committerDaniel Arndt <arndtd@ornl.gov>
Sun, 1 Mar 2020 15:48:20 +0000 (10:48 -0500)
Jenkinsfile

index 104f07519ad88c7e8d716abe72c9fff0d9d57bbc..a80e46653724dab9f5a555ef09439ce90f053a67 100644 (file)
@@ -116,36 +116,36 @@ pipeline
             failure {
               githubNotify context: 'CI', description: 'serial build failed',  status: 'FAILURE'
             }
-      }
+          }
 
           steps
           {
-          timeout(time: 6, unit: 'HOURS')
-          {
-            sh "echo \"building on node ${env.NODE_NAME}\""
-           sh '''#!/bin/bash
-              cd $WORKSPACE/
-              ./contrib/utilities/check_doxygen.sh
-            '''
-            sh '''#!/bin/bash
-               set -e
-               export NP=`grep -c ^processor /proc/cpuinfo`
-               export TEST_TIME_LIMIT=1200
-               mkdir -p /home/dealii/build
-               cd /home/dealii/build
-               cmake -G "Ninja" \
-                 -D DEAL_II_CXX_FLAGS='-Werror' \
-                 -D CMAKE_BUILD_TYPE=Debug \
-                 -D DEAL_II_WITH_MPI=OFF \
-                 -D DEAL_II_WITH_CXX14=OFF \
-                 -D DEAL_II_UNITY_BUILD=ON \
-                 $WORKSPACE/
-               time ninja -j $NP
-               time ninja test # quicktests
-               time ninja setup_tests
-               time ctest --output-on-failure -DDESCRIPTION="CI-$JOB_NAME" -j $NP --no-compress-output -T test
-            '''
-          }
+            timeout(time: 6, unit: 'HOURS')
+            {
+              sh "echo \"building on node ${env.NODE_NAME}\""
+              sh '''#!/bin/bash
+                 cd $WORKSPACE/
+                 ./contrib/utilities/check_doxygen.sh
+              '''
+              sh '''#!/bin/bash
+                 set -e
+                 export NP=`grep -c ^processor /proc/cpuinfo`
+                 export TEST_TIME_LIMIT=1200
+                 mkdir -p /home/dealii/build
+                 cd /home/dealii/build
+                 cmake -G "Ninja" \
+                   -D DEAL_II_CXX_FLAGS='-Werror' \
+                   -D CMAKE_BUILD_TYPE=Debug \
+                   -D DEAL_II_WITH_MPI=OFF \
+                   -D DEAL_II_WITH_CXX14=OFF \
+                   -D DEAL_II_UNITY_BUILD=ON \
+                   $WORKSPACE/
+                 time ninja -j $NP
+                 time ninja test # quicktests
+                 time ninja setup_tests
+                 time ctest --output-on-failure -DDESCRIPTION="CI-$JOB_NAME" -j $NP --no-compress-output -T test
+              '''
+            }
           }
         }
 
@@ -179,27 +179,26 @@ pipeline
 
           steps
           {
-          timeout(time: 6, unit: 'HOURS')
-          {
-            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
-                cmake -G "Ninja" \
-                  -D DEAL_II_CXX_FLAGS='-Werror' \
-                  -D CMAKE_BUILD_TYPE=Debug \
-                  -D DEAL_II_WITH_MPI=ON \
-                  -D DEAL_II_UNITY_BUILD=OFF \
-                  $WORKSPACE/
-                time ninja -j $NP
-                time ninja test # quicktests
-                time ninja setup_tests
-                time ctest -R "all-headers|multigrid/transfer|matrix_free/matrix_" --output-on-failure -DDESCRIPTION="CI-$JOB_NAME" -j $NP --no-compress-output -T test
-            '''
-          }
+            timeout(time: 6, unit: 'HOURS')
+            {
+              sh "echo \"building on node ${env.NODE_NAME}\""
+              sh '''#!/bin/bash
+                  set -e
+                  export NP=`grep -c ^processor /proc/cpuinfo`
+                  mkdir -p /home/dealii/build
+                  cd /home/dealii/build
+                  cmake -G "Ninja" \
+                    -D DEAL_II_CXX_FLAGS='-Werror' \
+                    -D CMAKE_BUILD_TYPE=Debug \
+                    -D DEAL_II_WITH_MPI=ON \
+                    -D DEAL_II_UNITY_BUILD=OFF \
+                    $WORKSPACE/
+                  time ninja -j $NP
+                  time ninja test # quicktests
+                  time ninja setup_tests
+                  time ctest -R "all-headers|multigrid/transfer|matrix_free/matrix_" --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.