diff options
author | Kim Hagen <kim.sidney@gmail.com> | 2019-05-22 14:42:44 +0200 |
---|---|---|
committer | Kim Hagen <kim.sidney@gmail.com> | 2019-05-22 14:42:44 +0200 |
commit | 5975dad813933842b2ae4b9f727a061224cde96d (patch) | |
tree | 8fb42805e78733b3c74bfe23800c9b8735d47d09 /Jenkinsfile | |
parent | ea6bb33106d46ff37ec96f9918552b255d41b690 (diff) | |
download | vyos-cloud-init-5975dad813933842b2ae4b9f727a061224cde96d.tar.gz vyos-cloud-init-5975dad813933842b2ae4b9f727a061224cde96d.zip |
cloud-init add backports use "tee"
Diffstat (limited to 'Jenkinsfile')
-rw-r--r-- | Jenkinsfile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Jenkinsfile b/Jenkinsfile index 15878c66..791fd01e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -16,8 +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 +echo "deb http://archive.debian.org/debian/ jessie-backports main" \ +| sudo tee /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 @@ -38,8 +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 +echo "deb http://archive.debian.org/debian/ jessie-backports main" \ +| sudo tee /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 @@ -60,8 +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 +echo "deb http://archive.debian.org/debian/ jessie-backports main" \ +| sudo tee /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 |