diff options
author | Oz Linden <oz@lindenlab.com> | 2015-11-10 16:13:19 -0500 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2015-11-10 16:13:19 -0500 |
commit | b97a4c8fc3c2453fa826920415024e3d4dd3d264 (patch) | |
tree | 2a9be911ed74da077760fadb39fe2514e74272e9 /build.sh | |
parent | d2acfde292f24b48a18fc79e75f9266d0e5f051a (diff) |
move doxygen upload so that it is not treated with installers
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 41 |
1 files changed, 22 insertions, 19 deletions
@@ -238,8 +238,8 @@ do build "$variant" "$build_dir" 2>&1 | tee -a "$build_log" | sed -n 's/^ *\(##teamcity.*\)/\1/p' if `cat "$build_dir/build_ok"` then - if [ "$variant" == "Release" ] - then + case "$variant" in + Release) if [ -r "$build_dir/autobuild-package.xml" ] then begin_section "Autobuild metadata" @@ -254,9 +254,22 @@ do else record_event "no autobuild metadata at '$build_dir/autobuild-package.xml'" fi - else - record_event "do not record autobuild metadata for $variant" - 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" text/plain + fi + if [ -d "$build_dir/doxygen/html" ] + then + (cd "$build_dir/doxygen/html"; tar cjf "$build_dir/viewer-doxygen.tar.bz2" .) + upload_item docs "$build_dir/viewer-doxygen.tar.bz2" binary/octet-stream + fi + ;; + *) + ;; + esac else record_failure "Build of \"$variant\" failed." fi @@ -398,18 +411,6 @@ then upload_item private_artifact "$llphysicsextensions_package" binary/octet-stream 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" text/plain - fi - if [ -d "$build_dir/doxygen/html" ] - then - (cd "$build_dir/doxygen/html"; tar cjf "$build_dir/viewer-doxygen.tar.bz2" .) - upload_item docs "$build_dir/viewer-doxygen.tar.bz2" binary/octet-stream - fi - ;; *) ;; esac @@ -417,9 +418,9 @@ then # Run upload extensions if [ -d ${build_dir}/packages/upload-extensions ]; then for extension in ${build_dir}/packages/upload-extensions/*.sh; do - begin_section "Upload Extenstion $extension" + begin_section "Upload Extension $extension" . $extension - end_section "Upload Extenstion $extension" + end_section "Upload Extension $extension" done fi fi @@ -427,6 +428,8 @@ then else echo skipping upload of installer fi + + else echo skipping upload of installer due to failed build. fi |