diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-06-28 09:58:12 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-06-28 10:05:28 +0200 |
commit | a1d9442b3c35042f292f118a4db1b898c6929a22 (patch) | |
tree | e180471848f18c1157b78fde98383030c73b5a2f /jjb/functest | |
parent | cc143b936c8337ee65c21e5fa78c1c56d2d833e1 (diff) |
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 <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest')
-rw-r--r-- | jjb/functest/functest-kubernetes.yaml | 7 |
1 files 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" |