Skip to content

Commit

Permalink
Merge pull request #720 from dotnet/revert-632-archive
Browse files Browse the repository at this point in the history
Revert "Added archival on failure, switched to public machines as the sdk is …"
  • Loading branch information
333fred authored Jan 24, 2017
2 parents 2c6ad34 + 8c554ca commit a997ed6
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions netci.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

// Import the utility functionality.

import jobs.generation.ArchivalSettings;
import jobs.generation.Utilities;
import jobs.generation.InternalUtilities;

def project = GithubProject
def branch = GithubBranchName
Expand Down Expand Up @@ -45,14 +45,8 @@ osList.each { os ->
}
}

def archiveSettings = new ArchivalSettings()
archiveSettings.addFiles("bin/**/*")
archiveSettings.excludeFiles("bin/obj/*")
archiveSettings.setFailIfNothingArchived()
archiveSettings.setArchiveOnFailure()
Utilities.addArchival(newJob, archiveSettings)
Utilities.setMachineAffinity(newJob, os, 'latest-or-auto')
Utilities.standardJobSetup(newJob, project, isPR, "*/${branch}")
Utilities.setMachineAffinity(newJob, os, 'latest-or-auto-internal')
InternalUtilities.standardJobSetup(newJob, project, isPR, "*/${branch}")
Utilities.addXUnitDotNETResults(newJob, "bin/$config/Tests/TestResults.xml", false)
Utilities.addGithubPRTriggerForBranch(newJob, branch, "$os $config")
}
Expand Down

0 comments on commit a997ed6

Please sign in to comment.