run distclean before making

This commit is contained in:
Rasmus Karlsson 2018-08-11 14:16:59 +02:00
parent 7aa34ef9bc
commit 09b8a9d821

4
Jenkinsfile vendored
View file

@ -6,12 +6,12 @@ pipeline {
parallel {
stage('GCC') {
steps {
sh 'mkdir -p build-linux-gcc && cd build-linux-gcc && qmake .. && make'
sh 'mkdir -p build-linux-gcc && cd build-linux-gcc && make distclean; qmake .. && make'
}
}
stage('Clang') {
steps {
sh 'mkdir -p build-linux-clang && cd build-linux-clang && qmake -spec linux-clang .. && make'
sh 'mkdir -p build-linux-clang && cd build-linux-clang && make distclean; qmake -spec linux-clang .. && make'
}
}
}