From 1a5136235e4cb8881f1526cefbf3949fe6847578 Mon Sep 17 00:00:00 2001
From: Cédric Ollivier <cedric.ollivier@orange.com>
Date: Thu, 8 Sep 2022 17:30:05 +0200
Subject: Publish docx and single rst to testresults.opnfv.org
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Change-Id: Ic971a395ce53af6c3256615bef9510b54ff95add
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
---
 jjb/cntt/cntt.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'jjb/cntt')

diff --git a/jjb/cntt/cntt.yaml b/jjb/cntt/cntt.yaml
index f214dd523..23bb3a972 100644
--- a/jjb/cntt/cntt.yaml
+++ b/jjb/cntt/cntt.yaml
@@ -18,6 +18,14 @@
               echo "\nhttps://artifacts.opnfv.org/{stream}/$BUILD_TAG/$i\n"
             done)
           fi
+          if [ -d {dir}/gsma ]; then
+            (cd {dir}/gsma
+            wget -q -N https://dl.min.io/client/mc/release/linux-amd64/mc && chmod a+x mc
+            for i in *.docx *.rst; do
+              ./mc cp -r -q $i opnfv/artifacts.opnfv.org/{stream}/$BUILD_TAG/gsma/$i
+              echo "\nhttps://artifacts.opnfv.org/{stream}/$BUILD_TAG/gsma/$i\n"
+            done)
+          fi
 
 - scm:
     name: cntt-scm
-- 
cgit