diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2019-05-22 14:36:42 +0200 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2019-05-22 14:36:42 +0200 |
commit | ea6bb33106d46ff37ec96f9918552b255d41b690 (patch) | |
tree | cead3e414b0e22c9735c68f1f7c418c36fe9181d /Jenkinsfile | |
parent | c24d921849187d63ee19338b95452f37c17371a6 (diff) | |
download | vyos-cloud-init-ea6bb33106d46ff37ec96f9918552b255d41b690.tar.gz vyos-cloud-init-ea6bb33106d46ff37ec96f9918552b255d41b690.zip |
cloud-init add backports
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 563ead22..15878c66 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,6 +16,8 @@ pipeline { sh '''#!/bin/bash git clone --single-branch --branch $GIT_BRANCH $GIT_URL $BUILD_NUMBER cd $BUILD_NUMBER +sudo echo "deb http://archive.debian.org/debian/ jessie-backports main" \ +> /etc/apt/sources.list.d/jessie-backports.list 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 @@ -36,6 +38,8 @@ mv ../*.deb /tmp/$GIT_BRANCH/packages/''' sh '''#!/bin/bash git clone --single-branch --branch $GIT_BRANCH $GIT_URL $BUILD_NUMBER cd $BUILD_NUMBER +sudo echo "deb http://archive.debian.org/debian/ jessie-backports main" \ +> /etc/apt/sources.list.d/jessie-backports.list 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 @@ -56,6 +60,8 @@ mv ../*.deb /tmp/$GIT_BRANCH/packages/''' sh '''#!/bin/bash git clone --single-branch --branch $GIT_BRANCH $GIT_URL $BUILD_NUMBER cd $BUILD_NUMBER +sudo echo "deb http://archive.debian.org/debian/ jessie-backports main" \ +> /etc/apt/sources.list.d/jessie-backports.list 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 |