It will help understanding why master junit files are not published [1]
[1] http://artifacts.opnfv.org/functest-kubernetes/functest-kubernetes-opnfv-functest-kubernetes-healthcheck-latest-k8s_smoke-run-15/results/k8s_smoke/junit_01.xml
Change-Id: Id74060f160bad0ca961a0d9dfa9b2b547494d994
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
name: functest-kubernetes-run-containers
builders:
- shell: |
- set +ex
+ set +e
+ set -x
[ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true
if [ "{repo}" = "_" ]; then
image={container}:{tag}
$image run_tests -t {test}
res=$?
gsutil -m cp -r $WORKSPACE/ \
- gs://artifacts.opnfv.org/functest-kubernetes/$JOB_NAME-$BUILD_ID > /dev/null 2>&1
+ gs://artifacts.opnfv.org/functest-kubernetes/$JOB_NAME-$BUILD_ID
find $WORKSPACE -type f \
-printf \
"http://artifacts.opnfv.org/functest-kubernetes/$JOB_NAME-$BUILD_ID/%P\n"