Skip to content
Snippets Groups Projects
Commit 67f1773f authored by Cédric Traizet's avatar Cédric Traizet
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment