Clean workspace with sudo 16/69916/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 7 Apr 2020 16:16:14 +0000 (18:16 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 7 Apr 2020 16:16:14 +0000 (18:16 +0200)
https://build.opnfv.org/ci/job/functest-hunter-zip/33/console

Change-Id: I40d1bf2dda46a81f6ef1870ae4b2f66bfc362ce5
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
jjb/functest/functest-kubernetes.yaml
jjb/functest/functest.ovn.yaml
jjb/functest/functest.yaml

index 5535898..7b15f32 100644 (file)
     builders:
       - shell: |
           set +x
-          [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true
+          [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
           if [ "{repo}" = "_" ]; then
             image={container}:{tag}
           elif [ "{port}" = "None" ]; then
index 76a8eb7..ab1ea4c 100644 (file)
     builders:
       - shell: |
           set +x
-          [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true
+          [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
           if [ "{repo}" = "_" ]; then
             image={container}:{tag}
           elif [ "{port}" = "None" ]; then
index 8d7e7d7..e16c02b 100644 (file)
     builders:
       - shell: |
           set +x
-          [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true
+          [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
           if [ "{repo}" = "_" ]; then
             image={container}:{tag}
           elif [ "{port}" = "None" ]; then