if [ -d {dir} ] && [ -f {dir}/tox.ini ]; then
(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")
+ ./mc cp -r -q build/ opnfv/artifacts.opnfv.org/{stream}/$BUILD_TAG
+ echo "\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
- ./mc cp -r -q $i opnfv/artifacts.opnfv.org/$BUILD_TAG/{stream}
- echo "\nhttps://artifacts.opnfv.org/$BUILD_TAG/{stream}/$i\n"
+ 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/{stream}/$BUILD_TAG
+ 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
+ echo "\nhttps://artifacts.opnfv.org/{stream}/$BUILD_TAG/gsma/$i\n"
done)
fi