diff --git a/Jenkinsfile b/Jenkinsfile index 97f50eb4..754e4fcf 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -84,6 +84,8 @@ pipeline { stage ('prepare') { steps { dir("tmp") { + sh 'if [ -s Makefile ]; then make -k distclean || true ; fi' + sh 'chmod -R u+w .' deleteDir() } sh './autogen.sh'