From: Cédric Ollivier Date: Fri, 28 Jun 2019 07:58:12 +0000 (+0200) Subject: Clean functest-kubernetes jjb X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?p=releng.git;a=commitdiff_plain;h=a1d9442b3c35042f292f118a4db1b898c6929a22 Clean functest-kubernetes jjb It removes all debug data added by "Add debugs when calling gsutil" [1] and "Print debug infos in functest-kubernetes jjbs" [2] The issue came from former data dirs in http://artifacts.opnfv.org/ which changes logics [3]. All kubernetes latest results were removed to solve the issues. [1] https://gerrit.opnfv.org/gerrit/#/c/68145/ [2] https://gerrit.opnfv.org/gerrit/#/c/68113/ [3] https://cloud.google.com/storage/docs/gsutil/commands/cp Change-Id: I4be465b0b6f63bcd77e46440da715d4269d4e79f Signed-off-by: Cédric Ollivier --- diff --git a/jjb/functest/functest-kubernetes.yaml b/jjb/functest/functest-kubernetes.yaml index 427ccc2ff..5bfa71760 100644 --- a/jjb/functest/functest-kubernetes.yaml +++ b/jjb/functest/functest-kubernetes.yaml @@ -90,8 +90,7 @@ name: functest-kubernetes-run-containers builders: - shell: | - set +e - set -x + set +ex [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true if [ "{repo}" = "_" ]; then image={container}:{tag} @@ -106,8 +105,8 @@ -v /home/opnfv/functest-kubernetes/config.{tag}:/root/.kube/config \ $image run_tests -t {test} res=$? - gsutil -dd -m cp -r $WORKSPACE/ \ - gs://artifacts.opnfv.org/functest-kubernetes/$JOB_NAME-$BUILD_ID + gsutil -m cp -r $WORKSPACE/ \ + gs://artifacts.opnfv.org/functest-kubernetes/$JOB_NAME-$BUILD_ID > /dev/null 2>&1 find $WORKSPACE -type f \ -printf \ "http://artifacts.opnfv.org/functest-kubernetes/$JOB_NAME-$BUILD_ID/%P\n"