Skip to content
Snippets Groups Projects
Commit e7c8e170 authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

clean build directory before building, so we don't have to enable this in each project manually

parent 9e891010
No related branches found
No related tags found
No related merge requests found
......@@ -123,6 +123,11 @@ def doAll(ArrayList<String> dependencyList, String label, String buildType) {
def doBuild(ArrayList<String> dependencyList, String label, String buildType) {
echo("Starting build for ${label}-${buildType}")
// Clean build directory. This removes any files which are not in the source code repository
sh '''
git clean -f -d -x
'''
// obtain artefacts of dependencies
script {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment