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
This commit is contained in:
John Beisner 2018-05-21 09:24:15 -07:00 committed by GitHub
commit fc33e5ddc6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,6 +3,7 @@
// Import the utility functionality.
import jobs.generation.ArchivalSettings;
import jobs.generation.Utilities;
def project = GithubProject
@ -108,6 +109,12 @@ set DOTNET_CLI_UI_LANGUAGE=es
Utilities.addMSTestResults(newJob, '**/*.trx')
}
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