functest: add sudo permissions to remove command
[releng.git] / jjb / functest / functest-ci-jobs.yml
index ee6e7d6..49d29cb 100644 (file)
         - string:
             name: CI_DEBUG
             default: 'false'
-            description: "Show debut output information"
+            description: "Show debug output information"
 ########################
 # trigger macros
 ########################
 
             dir_result="${HOME}/opnfv/functest/reports"
             mkdir -p ${dir_result}
-            rm -rf ${dir_result}/*
+            sudo rm -rf ${dir_result}/*
             res_volume="-v ${dir_result}:/home/opnfv/functest/results"
 
             docker pull opnfv/functest:latest_stable >$redirect