summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorZack Galbreath <zack.galbreath@kitware.com>2018-10-26 12:05:26 -0400
committerTodd Gamblin <tgamblin@llnl.gov>2018-12-20 09:23:08 -0800
commit8d0872083c6ed2024b5a23112ea19345c29b323a (patch)
tree9143b426e02deb941aa76ec7b888542127bf1142 /share
parent7217b4a4b9ba05176a7382d6408923067b31b330 (diff)
downloadspack-8d0872083c6ed2024b5a23112ea19345c29b323a.tar.gz
spack-8d0872083c6ed2024b5a23112ea19345c29b323a.tar.bz2
spack-8d0872083c6ed2024b5a23112ea19345c29b323a.tar.xz
spack-8d0872083c6ed2024b5a23112ea19345c29b323a.zip
Report current git commit of Spack to CDash
When using the CDash reporter, upload a Update.xml file that indicates the hash of Spack's current git commit.
Diffstat (limited to 'share')
-rw-r--r--share/spack/templates/reports/cdash/Update.xml11
1 files changed, 7 insertions, 4 deletions
diff --git a/share/spack/templates/reports/cdash/Update.xml b/share/spack/templates/reports/cdash/Update.xml
index 2ef5de347d..97d5ed81f3 100644
--- a/share/spack/templates/reports/cdash/Update.xml
+++ b/share/spack/templates/reports/cdash/Update.xml
@@ -3,9 +3,12 @@
<Site>{{ site }}</Site>
<BuildName>{{ buildname }}</BuildName>
<BuildStamp>{{ buildstamp }}</BuildStamp>
- <StartTime>{{ starttime }}</StartTime>
- <EndTime>{{ endtime }}</EndTime>
-{% if msg %}
- <UpdateReturnStatus>{{ msg }}</UpdateReturnStatus>
+ <StartTime>{{ update.starttime }}</StartTime>
+ <UpdateCommand></UpdateCommand>
+ <UpdateType>GIT</UpdateType>
+ <Revision>{{ update.revision }}</Revision>
+ <EndTime>{{ update.endtime }}</EndTime>
+{% if update.log %}
+ <UpdateReturnStatus>{{ update.log }}</UpdateReturnStatus>
{% endif %}
</Update>