Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit fc33e5d

Browse files
authored
Merge pull request #9318 from dotnet/merges/release/2.1.2xx-to-release/2.1.3xx
Merge release/2.1.2xx to release/2.1.3xx
2 parents 8a9b0a7 + 5bf1350 commit fc33e5d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

netci.groovy

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
// Import the utility functionality.
55

6+
import jobs.generation.ArchivalSettings;
67
import jobs.generation.Utilities;
78

89
def project = GithubProject
@@ -108,6 +109,12 @@ set DOTNET_CLI_UI_LANGUAGE=es
108109
Utilities.addMSTestResults(newJob, '**/*.trx')
109110
}
110111
Utilities.addGithubPRTriggerForBranch(newJob, branch, "${os} ${architecture} ${configuration} Build")
112+
113+
def archiveSettings = new ArchivalSettings()
114+
archiveSettings.addFiles("test/**/*.trx")
115+
archiveSettings.setFailIfNothingArchived()
116+
archiveSettings.setArchiveOnFailure()
117+
Utilities.addArchival(newJob, archiveSettings)
111118
}
112119

113120
// Make the call to generate the help job

0 commit comments

Comments
 (0)