Publish docx and single rst to testresults.opnfv.org 66/73466/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Thu, 8 Sep 2022 15:30:05 +0000 (17:30 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Thu, 8 Sep 2022 15:30:05 +0000 (17:30 +0200)
Change-Id: Ic971a395ce53af6c3256615bef9510b54ff95add
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
jjb/cntt/cntt.yaml

index f214dd5..23bb3a9 100644 (file)
               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