- shell: |
set +x
if [ -d {dir} ] && [ -f {dir}/tox.ini ]; then
+ sudo apt-get -o DPkg::Lock::Timeout=300 update && \
+ sudo DEBIAN_FRONTEND=noninteractive apt-get \
+ -o DPkg::Lock::Timeout=300 dist-upgrade -y
+ sudo DEBIAN_FRONTEND=noninteractive \
+ apt-get -o DPkg::Lock::Timeout=300 install tox texlive \
+ texlive-latex-extra latexmk pandoc -y
(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/{stream}/$BUILD_TAG
(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\n"
+ ./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
parameters:
- label:
name: node
- default: 'lf-virtual1'
+ default: 'opnfv-build'
- job-template:
name: cntt-tox-{stream}