summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2019-05-13 16:40:25 +0200
committerKim Hagen <kim.sidney@gmail.com>2019-05-13 16:40:25 +0200
commit2bc0879423c5bb4dc6cd1983aa62f4b507769dbf (patch)
tree0c45b5c25221646bab9086e95d924efbccf81528
parent95cd365182c8ba292f34f73282309e11d13b91b7 (diff)
downloadlibnss-mapuser-2bc0879423c5bb4dc6cd1983aa62f4b507769dbf.tar.gz
libnss-mapuser-2bc0879423c5bb4dc6cd1983aa62f4b507769dbf.zip
update package list before getting build depends
-rw-r--r--Jenkinsfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index d08019a..07adf82 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -16,6 +16,7 @@ pipeline {
sh '''#!/bin/bash
git clone --single-branch --branch $GIT_BRANCH $GIT_URL $BUILD_NUMBER
cd $BUILD_NUMBER
+sudo apt-get -o Acquire::Check-Valid-Until=false update
sudo mk-build-deps -i -r -t \'apt-get --no-install-recommends -yq\' debian/control
dpkg-buildpackage -b -us -uc -tc
mv ../*.deb .'''
@@ -34,6 +35,7 @@ mv ../*.deb .'''
sh '''#!/bin/bash
git clone --single-branch --branch $GIT_BRANCH $GIT_URL $BUILD_NUMBER
cd $BUILD_NUMBER
+sudo apt-get -o Acquire::Check-Valid-Until=false update
sudo mk-build-deps -i -r -t \'apt-get --no-install-recommends -yq\' debian/control
dpkg-buildpackage -b -us -uc -tc
mv ../*.deb .'''
@@ -52,6 +54,7 @@ mv ../*.deb .'''
sh '''#!/bin/bash
git clone --single-branch --branch $GIT_BRANCH $GIT_URL $BUILD_NUMBER
cd $BUILD_NUMBER
+sudo apt-get -o Acquire::Check-Valid-Until=false update
sudo mk-build-deps -i -r -t \'apt-get --no-install-recommends -yq\' debian/control
dpkg-buildpackage -b -us -uc -tc
mv ../*.deb .'''