summaryrefslogtreecommitdiffstats
path: root/jjb/functest/xtesting.yaml
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2019-01-02 14:49:49 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2019-01-02 14:51:03 +0100
commitce6c6f2434b61eaf0e2524ae90c5158319851c79 (patch)
treeb3bdfa6df3641d67ce831880a7539f6a4563c3a7 /jjb/functest/xtesting.yaml
parent62515818796b3b0ef9741ebdef6568cc837b124d (diff)
Clean Xtesting logs as privileged
It also mutes gsutils and precises Xtesting view regex. Change-Id: Idf0457205dc53e9cca2befc139b65715511e8ebf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'jjb/functest/xtesting.yaml')
-rw-r--r--jjb/functest/xtesting.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/jjb/functest/xtesting.yaml b/jjb/functest/xtesting.yaml
index 46568db1a..f1cdd107e 100644
--- a/jjb/functest/xtesting.yaml
+++ b/jjb/functest/xtesting.yaml
@@ -62,7 +62,7 @@
builders:
- shell: |
set +ex
- [ ! -z "$WORKSPACE" ] && rm -rf $WORKSPACE/* || true
+ [ ! -z "$WORKSPACE" ] && sudo rm -rf $WORKSPACE/* || true
if [ "{port}" = "None" ]; then
image={repo}/{container}:{tag}
else
@@ -73,7 +73,7 @@
$image run_tests -t {test}
res=$?
gsutil -m cp -r $WORKSPACE/ \
- gs://artifacts.opnfv.org/xtesting/$JOB_NAME-$BUILD_ID > /dev/null
+ gs://artifacts.opnfv.org/xtesting/$JOB_NAME-$BUILD_ID > /dev/null 2>&1
find $WORKSPACE -type f \
-printf \
"http://artifacts.opnfv.org/xtesting/$JOB_NAME-$BUILD_ID/%P\n"
@@ -148,4 +148,4 @@
- last-success
- last-failure
- last-duration
- regex: xtesting-.*
+ regex: ^xtesting-[a-z0-9]*$