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

pipeline testing

parent 5577cb53
Branches
Tags
No related merge requests found
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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment