summaryrefslogtreecommitdiffstats
path: root/jjb/functest
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-02-11 10:19:18 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2021-02-11 10:19:32 +0100
commit3ce2b537d6cbafe7f50dab0b1f6e689614b737ec (patch)
treebef6d37528e80ce070f8452c01e6cb43cbeeed30 /jjb/functest
parent910c6bd59b55797b7f2400efb8198bab86b922ec (diff)
Add missing sudo
Change-Id: I891013d34da7b1fb3bea641bb7f582ee85c8db21 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r--jjb/functest/xtesting.yaml6
1 files changed, 3 insertions, 3 deletions
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}