summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2014-09-23 16:51:42 -0400
committerOz Linden <oz@lindenlab.com>2014-09-23 16:51:42 -0400
commit5b43bf4fe6d08409cbedf633dca8b6c8d54b3237 (patch)
tree62b68a9e0f21538039b20e6dc70cb60c95057b52
parentf9399c80caa656998020a122f617d6c26942cc53 (diff)
log results of autobuild graph (and put the env display in a collapsable section)
-rwxr-xr-xbuild.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index c6efa39194..4568361617 100755
--- a/build.sh
+++ b/build.sh
@@ -179,7 +179,14 @@ build_docs()
end_section "Stub documentation.txt"
begin_section "Dependency Graph"
depends_graph="$build_dir/dependancies.png"
- "$AUTOBUILD" graph --output "$depends_graph" && record_event "autobuild graph succeeded" || record_event "autobuild graph failed"
+ echo "$AUTOBUILD" graph --output "$depends_graph"
+ if "$AUTOBUILD" graph --output "$depends_graph" >> "$build_log" 2>&1
+ then
+ record_event "autobuild graph succeeded"
+ uplaod_item docs "$depends_graph" image/png
+ else
+ record_event "autobuild graph failed"
+ fi
end_section "Dependency Graph"
end_section "Building Documentation"
}
@@ -231,7 +238,9 @@ fi
eval "$("$AUTOBUILD" source_environment)"
# dump environment variables for debugging
+begin_section "Environment"
env|sort
+end_section "Environment"
# Now run the build
succeeded=true