Commit 67f1773f authored by Cédric Traizet's avatar Cédric Traizet

CI: directly untar the Doxygen documentation into the Doxygen directory...

CI: directly untar the Doxygen documentation into the Doxygen directory instead of moving it afterward
parent da17db51
......@@ -86,12 +86,9 @@ then
mv ${jobs_directory}/CookBook-*/* /home/otbpush/test/CookBook/.
# Doxygen
ssh otbpush@otb5-vm2.orfeo-toolbox.org \
tar -xf ${jobs_directory}/OTB-Doxygen-*.tar.bz2 -C ${jobs_directory}/
ssh otbpush@otb5-vm2.orfeo-toolbox.org \
rm -rf /home/otbpush/test/Doxygen/*
# Too many args for mv
# Strip first component of the tar (Doxygen/html/...)
ssh otbpush@otb5-vm2.orfeo-toolbox.org \
"cd /home/otbpush/test/latest/html && find . -mindepth 1 \
-exec mv {} /home/otbpush/test/Doxygen \;"
tar -xf ${jobs_directory}/OTB-Doxygen-*.tar.bz2 -C /home/otbpush/test/Doxygen/ --strip-components=1
fi
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment