From aaed2aa390bd7bc3ab1c5751dd8f044794eb66ad Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Wed, 11 Oct 2023 19:08:15 +0200 Subject: [PATCH] Need sudo to run tests Signed-off-by: Jose Luis Rivero --- jenkins-scripts/docker/gz-source-generation.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jenkins-scripts/docker/gz-source-generation.bash b/jenkins-scripts/docker/gz-source-generation.bash index 72a3a4583..66252259e 100644 --- a/jenkins-scripts/docker/gz-source-generation.bash +++ b/jenkins-scripts/docker/gz-source-generation.bash @@ -17,7 +17,7 @@ SOURCES_DIR=\$WORKSPACE/sources BUILD_DIR=\$SOURCES_DIR/build # Need to intall all supported gz-cmake* packages in the platform -(apt-get install -y *gz-cmake* || apt-get install -y *ign-cmake*) || \ +(sudo apt-get install -y *gz-cmake* || sudo apt-get install -y *ign-cmake*) || \ (echo "Can not find any ign-cmake/gz-cmake package" && exit 1) cd \${WORKSPACE}