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

pipeline testing

parent f1a360cc
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@ node {
)
}
stage('Build') {
sh(
sh(
'''
ls -la
'''
......@@ -38,7 +38,7 @@ node {
)
}
stage('Collect warnings') {
sh(
sh(
'''
ls -la
'''
......@@ -57,7 +57,7 @@ node {
)
}
stage('Run valgrind') {
sh(
sh(
'''
ls -la
'''
......@@ -104,20 +104,28 @@ node {
)
}
stage('Pull and compile cppunit tests') {
sh(
'''
sh(
'''
ls -la
'''
)
git(
credentialsId: 'codegit',
url: 'https://code.fbi.h-da.de/SS18-REP-PAD2/UnitTests/Praktikum2.git',
changelog: false,
poll: false,
wipeOutWorkspace: false
)
def exists = fileExists 'git'
if (!exists) {
new File('git').mkdir()
}
dir('git') {
git(
credentialsId: 'codegit',
url: 'https://code.fbi.h-da.de/SS18-REP-PAD2/UnitTests/Praktikum2.git',
changelog: false,
poll: false,
wipeOutWorkspace: false
)
}
sh(
'''
cp -r git/* ./
ls -la
'''
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment