CI: Drop .git directory that was not present during first build

master
David Prevot 3 months ago
parent a75593f852
commit 1a90dff7f1
  1. 2
      .Jenkinsfile

2
.Jenkinsfile vendored

@ -14,7 +14,7 @@ pipeline {
steps {
script {
sh 'mk-build-deps --install --remove debian/control'
sh 'rm -rf {source,*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo,lintian.txt}'
sh 'rm -rf {source,*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo,lintian.txt,.git}'
sh "gbp clone --debian-branch=$GIT_BRANCH $GIT_URL source"
sh 'cd source && git checkout $GIT_BRANCH && gbp buildpackage -us -uc'
}

Loading…
Cancel
Save