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

log results of autobuild graph (and put the env display in a collapsable section)

parent f9399c80
No related branches found
No related tags found
No related merge requests found
...@@ -179,7 +179,14 @@ build_docs() ...@@ -179,7 +179,14 @@ build_docs()
end_section "Stub documentation.txt" end_section "Stub documentation.txt"
begin_section "Dependency Graph" begin_section "Dependency Graph"
depends_graph="$build_dir/dependancies.png" 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 "Dependency Graph"
end_section "Building Documentation" end_section "Building Documentation"
} }
...@@ -231,7 +238,9 @@ fi ...@@ -231,7 +238,9 @@ fi
eval "$("$AUTOBUILD" source_environment)" eval "$("$AUTOBUILD" source_environment)"
# dump environment variables for debugging # dump environment variables for debugging
begin_section "Environment"
env|sort env|sort
end_section "Environment"
# Now run the build # Now run the build
succeeded=true succeeded=true
......
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