From 5975dad813933842b2ae4b9f727a061224cde96d Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Wed, 22 May 2019 14:42:44 +0200 Subject: cloud-init add backports use "tee" --- Jenkinsfile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'Jenkinsfile') 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 -- cgit v1.2.3