diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-23 08:40:59 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-23 08:40:59 +0200 |
commit | b6e16d0edfb9807644ab1fb010679e39bc16fac0 (patch) | |
tree | a42a807015736ba421d487cd0236a08189d90b34 /vars | |
parent | 341028118d3e6ef001972f0f6e3f57d6669a4a39 (diff) | |
download | vyos-build-b6e16d0edfb9807644ab1fb010679e39bc16fac0.tar.gz vyos-build-b6e16d0edfb9807644ab1fb010679e39bc16fac0.zip |
Jenkins: lib: do not checkout scm by default
Diffstat (limited to 'vars')
-rw-r--r-- | vars/buildPackage.groovy | 4 |
1 files changed, 3 insertions, 1 deletions
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 -> |