From b6e16d0edfb9807644ab1fb010679e39bc16fac0 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Tue, 23 Jun 2020 08:40:59 +0200 Subject: Jenkins: lib: do not checkout scm by default --- vars/buildPackage.groovy | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'vars') diff --git a/vars/buildPackage.groovy b/vars/buildPackage.groovy index 8b690d45..086ea9e2 100644 --- a/vars/buildPackage.groovy +++ b/vars/buildPackage.groovy @@ -64,6 +64,7 @@ def call(description=null, pkgList=null, buildCmd=null) { } options { disableConcurrentBuilds() + skipDefaultCheckout() timeout(time: 60, unit: 'MINUTES') timestamps() } @@ -180,7 +181,8 @@ def call(description=null, pkgList=null, buildCmd=null) { if (env.DEBIAN_ARCH != 'all') ARCH_OPT = '-A ' + env.DEBIAN_ARCH - files = findFiles(glob: '**/*.deb') + sh "pwd; ls -al" + files = findFiles(glob: '*.deb') if (files) { echo "Uploading package(s) and updating package(s) in the repository ..." files.each { FILE -> -- cgit v1.2.3