Skip to content
Snippets Groups Projects
Commit dc5960d3 authored by Oz Linden's avatar Oz Linden
Browse files

relocate upload of Doxygen results

parent b3352767
No related branches found
No related tags found
No related merge requests found
...@@ -239,7 +239,7 @@ do ...@@ -239,7 +239,7 @@ do
build "$variant" "$build_dir" 2>&1 | tee -a "$build_log" | sed -n 's/^ *\(##teamcity.*\)/\1/p' build "$variant" "$build_dir" 2>&1 | tee -a "$build_log" | sed -n 's/^ *\(##teamcity.*\)/\1/p'
if `cat "$build_dir/build_ok"` if `cat "$build_dir/build_ok"`
then then
if [ "$variant" == "Release" ] if [ "$variant" == "Release" -o "$variant" == "Doxygen" ]
then then
if [ -r "$build_dir/autobuild-package.xml" ] if [ -r "$build_dir/autobuild-package.xml" ]
then then
...@@ -249,7 +249,7 @@ do ...@@ -249,7 +249,7 @@ do
then then
record_dependencies_graph # defined in buildscripts/hg/bin/build.sh record_dependencies_graph # defined in buildscripts/hg/bin/build.sh
else else
record_event "no dependency graph for linux (probable python version dependency)" 1>&2 record_event "TBD - no dependency graph for linux (probable python version dependency)" 1>&2
fi fi
end_section "Autobuild metadata" end_section "Autobuild metadata"
else else
...@@ -399,6 +399,17 @@ then ...@@ -399,6 +399,17 @@ then
echo "No llphysicsextensions_package" echo "No llphysicsextensions_package"
fi fi
;; ;;
Doxygen)
if [ -r "$build_dir/doxygen_warnings.log" ]
then
record_event "Doxygen warnings generated; see doxygen_warnings.log"
upload_item log "$build_dir/doxygen_warnings.log" binary/octet-stream
fi
if [ -d "$build_dir/doxygen/html" ]
then
(cd "$build_dir/doxygen/html"; tar cjf "$build_dir/viewer-doxygen.tar.bz2" .)
upload_item docs viewer-doxygen.tar.bz2 binary/octet-stream
fi
*) *)
echo "Skipping mapfile for $last_built_variant" echo "Skipping mapfile for $last_built_variant"
;; ;;
...@@ -417,11 +428,6 @@ then ...@@ -417,11 +428,6 @@ then
upload_stub_installers "$build_dir_stubs" upload_stub_installers "$build_dir_stubs"
fi fi
end_section Upload Installer end_section Upload Installer
elif [ "$last_built_variant" = "Doxygen" ]
then
cd "$build_dir/doxygen/html"
tar cjf viewer-doxygen.tar.bz2 .
upload_item docs viewer-doxygen.tar.bz2 binary/octet-stream
else else
echo skipping upload of installer echo skipping upload of installer
fi fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment