Merge "Publish docx and single rst to testresults.opnfv.org"
authorCedric Ollivier <cedric.ollivier@orange.com>
Thu, 8 Sep 2022 15:38:43 +0000 (15:38 +0000)
committerGerrit Code Review <gerrit@opnfv.org>
Thu, 8 Sep 2022 15:38:43 +0000 (15:38 +0000)
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