Skip to content

Commit 967db3d

Browse files
committed
teamcity.build: Attempt process the current test results first, so that these
will be available in build artifacts even if the last-result files is missing.
1 parent 75f3f10 commit 967db3d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

teamcity.build

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@
2323

2424
<target name="verify-test-results">
2525
<if test="${property::exists('NHibernate.Test.IgnoreFail')}">
26-
<copy file="${teamcity.last.result}" todir="${testresults.dir}" />
26+
<!-- Process the current results first, so that these will be available in build artifacts even
27+
if the last-result files is missing. -->
2728
<property name="teamcity.current.result" value="${testResult::StripTimings(testresults.dir + '/NHibernate.Test.dll-results.xml', 'NHibernate.Test.current-results.xml')}" />
29+
<copy file="${teamcity.last.result}" todir="${testresults.dir}" />
2830
<property name="teamcity.report" value="${testResult::CompareResults(teamcity.current.result, teamcity.last.result)}" />
2931
</if>
3032
</target>

0 commit comments

Comments
 (0)