From a1d9442b3c35042f292f118a4db1b898c6929a22 Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Fri, 28 Jun 2019 09:58:12 +0200 Subject: [PATCH] Clean functest-kubernetes jjb MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- jjb/functest/functest-kubernetes.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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" -- 2.16.6