use 'workspace-cleanup' plugin in publisher
[releng.git] / jjb / doctor / doctor.yaml
index 051beb8..dae280e 100644 (file)
     name: 'doctor-verify-installer-inspector-builders-macro'
     builders:
       # yamllint disable rule:indentation
-      - 'clean-workspace-log'
       - shell:
           !include-raw:
               - ./doctor-env-presetup.sh
           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
       - archive:
           artifacts: 'doctor_tests/*.log'
       - email-jenkins-admins-on-failure
-
+      - workspace-cleanup
 
 #####################################
 # trigger macros