diff options
author | Oz Linden <oz@lindenlab.com> | 2014-10-24 06:27:20 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2014-10-24 06:27:20 -0400 |
commit | 2ed557e16b87b355f97534ffbccecc29bd91ca85 (patch) | |
tree | 8f8eb5a3f0f893745bab7d4ae5347ec2d257279a | |
parent | f7463ce46d2c40ab9896f0ff1e900ec82d59299e (diff) |
upload autobuild metadata after viewer build
-rwxr-xr-x | build.sh | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -172,11 +172,14 @@ build() build_docs() { begin_section "Building Documentation" - begin_section "Stub documentation.txt" - # Stub code to generate docs - echo Hello world > documentation.txt - upload_item docs documentation.txt text/plain - end_section "Stub documentation.txt" + begin_section "Autobuild metadata" + if [ -r "$build_dir/autobuild-package.xml" ] + then + upload_item docs "$build_dir/autobuild-package.xml" text/xml + else + record_event "no metadata at '$build_dir/autobuild-package.xml'" + fi + end_section "Autobuild metadata" record_dependencies_graph # defined in build.sh end_section "Building Documentation" } |