From 3ce2b537d6cbafe7f50dab0b1f6e689614b737ec Mon Sep 17 00:00:00 2001
From: Cédric Ollivier <cedric.ollivier@orange.com>
Date: Thu, 11 Feb 2021 10:19:18 +0100
Subject: Add missing sudo
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Change-Id: I891013d34da7b1fb3bea641bb7f582ee85c8db21
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
---
 jjb/functest/xtesting.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'jjb')

diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml
index f6041b201..c9b37a8dc 100644
--- a/jjb/functest/xtesting.yaml
+++ b/jjb/functest/xtesting.yaml
@@ -406,9 +406,9 @@
     builders:
       - shell: |
           set +x
-          sudo apt-get update && apt-get install software-properties-common gpg -y
+          sudo apt-get update && sudo apt-get install software-properties-common gpg -y
           sudo add-apt-repository -y ppa:deadsnakes/ppa
-          sudo apt-get update && apt-get install python3.8 python3.8-dev \
+          sudo apt-get update && sudo apt-get install python3.8 python3.8-dev \
             python3.8-distutils \
             python3.7 python3.7-dev python3.6 python3.6-dev \
             python python-dev python3-pip enchant -y
@@ -642,7 +642,7 @@
     name: xtesting-trivy
     builders:
       - shell: |
-          apt-get update && apt-get install curl
+          sudo apt-get update && sudo apt-get install curl
           curl -sfL https://raw.githubusercontent.com/aquasecurity/trivy/main/contrib/install.sh | sudo sh -s -- -b .
           if [ "{repo}" = "_" ]; then
             image={container}:{tag}
-- 
cgit