From 50151eb3717edd4ddd996f3705fbe1732de7f3b7 Mon Sep 17 00:00:00 2001 From: dongwenjuan Date: Fri, 3 Aug 2018 11:45:15 +0800 Subject: [PATCH] run tox with 'sudo' Change-Id: Icdbab7405e8dd46e7cd659dce04bf7502424192c Signed-off-by: dongwenjuan --- jjb/doctor/doctor.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jjb/doctor/doctor.yaml b/jjb/doctor/doctor.yaml index 051beb8b4..e91911194 100644 --- a/jjb/doctor/doctor.yaml +++ b/jjb/doctor/doctor.yaml @@ -200,7 +200,8 @@ source $HOME/opnfv-installer.sh # run tox to trigger the test - tox -e py34 + # As Jenkins user, it has no permission to send ICMP package + sudo -E tox -e py34 # ------------------------------- # publisher macros -- 2.16.6