Merge pull request #9307 from tannergooding/release/2.1
Updating netci.groovy to archive test results on failure.
This commit is contained in:
commit
5bf135011f
1 changed files with 7 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
|
|
||||||
// Import the utility functionality.
|
// Import the utility functionality.
|
||||||
|
|
||||||
|
import jobs.generation.ArchivalSettings;
|
||||||
import jobs.generation.Utilities;
|
import jobs.generation.Utilities;
|
||||||
|
|
||||||
def project = GithubProject
|
def project = GithubProject
|
||||||
|
@ -68,6 +69,12 @@ platformList.each { platform ->
|
||||||
Utilities.standardJobSetup(newJob, project, isPR, "*/${branch}")
|
Utilities.standardJobSetup(newJob, project, isPR, "*/${branch}")
|
||||||
Utilities.addMSTestResults(newJob, '**/*.trx')
|
Utilities.addMSTestResults(newJob, '**/*.trx')
|
||||||
Utilities.addGithubPRTriggerForBranch(newJob, branch, "${os} ${architecture} ${configuration} Build")
|
Utilities.addGithubPRTriggerForBranch(newJob, branch, "${os} ${architecture} ${configuration} Build")
|
||||||
|
|
||||||
|
def archiveSettings = new ArchivalSettings()
|
||||||
|
archiveSettings.addFiles("test/**/*.trx")
|
||||||
|
archiveSettings.setFailIfNothingArchived()
|
||||||
|
archiveSettings.setArchiveOnFailure()
|
||||||
|
Utilities.addArchival(newJob, archiveSettings)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Make the call to generate the help job
|
// Make the call to generate the help job
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue