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.
This commit is contained in:
Zack Galbreath
2018-10-26 12:05:26 -04:00
committed by Todd Gamblin
parent 7217b4a4b9
commit 8d0872083c
2 changed files with 30 additions and 10 deletions

View File

@@ -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>