Fix CNTT jjb 85/73385/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Tue, 24 May 2022 17:10:54 +0000 (19:10 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Tue, 24 May 2022 17:11:03 +0000 (19:11 +0200)
Change-Id: I97f11d2433b3b7673c3c1986890ad5c432cd7b70
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
jjb/cntt/cntt.yaml

index 01edfc2..8615928 100644 (file)
@@ -8,13 +8,14 @@
             (cd {dir} && tox
             wget -q -N https://dl.min.io/client/mc/release/linux-amd64/mc && chmod a+x mc
             ./mc cp -r -q build/ opnfv/artifacts.opnfv.org/$BUILD_TAG/{stream}
-            echo "\nhttps://artifacts.opnfv.org/$BUILD_TAG/{stream}/index.html\n")
+            echo -e "\nhttps://artifacts.opnfv.org/{stream}/$BUILD_TAG/index.html\n")
           fi
           if [ -d {dir}/build ] && [ -f {dir}/build/Makefile ]; then
             (cd {dir}/build && make
-            for i in {dir}/build/*.pdf; do
+            wget -q -N https://dl.min.io/client/mc/release/linux-amd64/mc && chmod a+x mc
+            for i in *.pdf; do
               ./mc cp -r -q $i opnfv/artifacts.opnfv.org/$BUILD_TAG/{stream}
-              echo "\nhttps://artifacts.opnfv.org/$BUILD_TAG/{stream}/$i\n"
+              echo -e "\nhttps://artifacts.opnfv.org/{stream}/$BUILD_TAG/$i\n"
             done)
           fi