From adf9bd4e15d6d0d2cb9401857436a51ea22a1fe3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20K=C3=B6hler?= <lukas.koehler@h-da.de> Date: Thu, 30 Aug 2018 10:32:52 +0200 Subject: [PATCH] pipeline testing --- .../Praktikum 3/jenkinsfile.groovy | 37 ------------------- 1 file changed, 37 deletions(-) diff --git a/pipelines/PAD2 Repetitorium/Praktikum 3/jenkinsfile.groovy b/pipelines/PAD2 Repetitorium/Praktikum 3/jenkinsfile.groovy index 7f8f0f2..7ff52a9 100644 --- a/pipelines/PAD2 Repetitorium/Praktikum 3/jenkinsfile.groovy +++ b/pipelines/PAD2 Repetitorium/Praktikum 3/jenkinsfile.groovy @@ -68,41 +68,4 @@ node { unstableThresholdTotal: '0' ) } - stage('Pull and compile cppunit tests') { - sh( - ''' - mkdir git - ''' - ) - dir('git') { - git( - credentialsId: 'codegit', - url: 'https://code.fbi.h-da.de/SS18-REP-PAD2/UnitTests/Praktikum3.git', - changelog: false - ) - } - sh( - ''' - cp -r git/* ./ - ''' - ) - sh( - ''' - cmake ./ - make - ''' - ) - } - stage('Run cppunit tests') { - sh('./cppunitTemplate') - xunit( - thresholds: [ - skipped(failureThreshold: '0'), - failed(failureThreshold: '0') - ], - tools: [CppUnit( - pattern: 'testResults.xml', - )] - ) - } } \ No newline at end of file -- GitLab