forked from evolix/evobackup
Jenkins CI: Improve clean up
This commit is contained in:
parent
bdb84e809f
commit
7901fd1950
|
@ -14,7 +14,7 @@ pipeline {
|
|||
steps {
|
||||
script {
|
||||
sh 'mk-build-deps --install --remove debian/control'
|
||||
sh 'rm -rf source'
|
||||
sh 'rm -rf {source,*.gz,*.bz2,*.xz,*.deb,*.dsc,*.changes,*.buildinfo,lintian.txt}'
|
||||
sh "gbp clone --debian-branch=$GIT_BRANCH $GIT_URL source"
|
||||
sh 'cd source && git checkout $GIT_BRANCH && gbp buildpackage -us -uc'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue