Skip to content
Snippets Groups Projects
Commit adf9bd4e authored by Lukas Köhler's avatar Lukas Köhler
Browse files

pipeline testing

parent 3cedbb31
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment