diff --git a/pipelines/PAD2 Repetitorium/Praktikum 2/jenkinsfile.groovy b/pipelines/PAD2 Repetitorium/Praktikum 2/jenkinsfile.groovy index 1d1da36a8963b98e8a79016321a73e3ab8708720..4fe148b4c2123e21e133d224f27f01f784d1ed01 100644 --- a/pipelines/PAD2 Repetitorium/Praktikum 2/jenkinsfile.groovy +++ b/pipelines/PAD2 Repetitorium/Praktikum 2/jenkinsfile.groovy @@ -1,5 +1,10 @@ node { stage('Copy files') { + sh( + ''' + ls -la + ''' + ) sh( ''' chmod -Rf 777 ./ @@ -9,15 +14,35 @@ node { rm -rf \$folder ''' ) + sh( + ''' + ls -la + ''' + ) } stage('Build') { + sh( + ''' + ls -la + ''' + ) sh( ''' clang++ -std=c++11 -O0 -g -Wall -Wextra -Weverything -Wno-c++98-compat -o binary *.cpp ''' ) + sh( + ''' + ls -la + ''' + ) } stage('Collect warnings') { + sh( + ''' + ls -la + ''' + ) warnings( canComputeNew: false, canResolveRelativePaths: false, @@ -32,6 +57,11 @@ node { ) } stage('Run valgrind') { + sh( + ''' + ls -la + ''' + ) runValgrind( childSilentAfterFork: false, excludePattern: '', @@ -67,17 +97,37 @@ node { unstableThresholdInvalidReadWrite: '0', unstableThresholdTotal: '0' ) + sh( + ''' + ls -la + ''' + ) } stage('Pull and compile cppunit tests') { + sh( + ''' + ls -la + ''' + ) git( credentialsId: 'codegit', url: 'https://code.fbi.h-da.de/SS18-REP-PAD2/UnitTests/Praktikum2.git' ) + sh( + ''' + ls -la + ''' + ) sh(''' cmake ./ make ''' ) + sh( + ''' + ls -la + ''' + ) } stage('Run cppunit tests') { sh('./cppunitTemplate')