summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordongwenjuan <dong.wenjuan@zte.com.cn>2018-08-03 11:45:15 +0800
committerdongwenjuan <dong.wenjuan@zte.com.cn>2018-08-03 13:41:51 +0800
commit50151eb3717edd4ddd996f3705fbe1732de7f3b7 (patch)
tree614141a664f38c886454e3068829761a1584893d
parentcb5f2f65722e5f30812145cc612b69dbf04c19e3 (diff)
run tox with 'sudo'
Change-Id: Icdbab7405e8dd46e7cd659dce04bf7502424192c Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
-rw-r--r--jjb/doctor/doctor.yaml3
1 files changed, 2 insertions, 1 deletions
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