You've already forked linux-packaging-mono
Imported Upstream version 5.4.0.167
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
This commit is contained in:
parent
e49d6f06c0
commit
536cd135cc
53
external/corefx/buildpipeline/pipelinejobs.groovy
vendored
Normal file
53
external/corefx/buildpipeline/pipelinejobs.groovy
vendored
Normal file
@@ -0,0 +1,53 @@
|
||||
// Import the utility functionality.
|
||||
|
||||
import jobs.generation.JobReport;
|
||||
import jobs.generation.Utilities;
|
||||
import org.dotnet.ci.pipelines.Pipeline
|
||||
|
||||
// The input project name (e.g. dotnet/corefx)
|
||||
def project = GithubProject
|
||||
// The input branch name (e.g. master)
|
||||
def branch = GithubBranchName
|
||||
|
||||
// **************************
|
||||
// Define innerloop testing. These jobs run on every merge and a subset of them run on every PR, the ones
|
||||
// that don't run per PR can be requested via a magic phrase.
|
||||
// **************************
|
||||
def linuxPipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/portable-linux.groovy')
|
||||
|
||||
['netcoreapp'].each { targetGroup ->
|
||||
['Debug', 'Release'].each { configurationGroup ->
|
||||
['Linux x64'].each { osName ->
|
||||
// Runs the portable-linux.groovy pipeline on the target Helix queues mentioned in the pipeline. Currently:
|
||||
// CentOS 7.3, RedHat 7.3, Debian 8.7, Ubuntu 14.04, Ubuntu 16.04, Ubuntu 16.10, openSuSE 42.2 and Fedora 25
|
||||
|
||||
// One for just innerloop.
|
||||
linuxPipeline.triggerPipelineOnEveryGithubPR("Portable ${osName} ${configurationGroup} Build", ['Config':configurationGroup, 'OuterLoop':false])
|
||||
// Add one for outerloop
|
||||
linuxPipeline.triggerPipelineOnGithubPRComment("Portable Outerloop ${osName} ${configurationGroup} Build", ['Config':configurationGroup, 'OuterLoop':true])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Create a pipeline for portable windows
|
||||
def windowsPipeline = Pipeline.createPipelineForGithub(this, project, branch, 'buildpipeline/portable-windows.groovy')
|
||||
['netcoreapp'].each { targetGroup ->
|
||||
['Debug', 'Release'].each { configurationGroup ->
|
||||
['Windows x64'].each { osName ->
|
||||
// Runs the portable-windows.groovy pipeline on the target Helix queues mentioned in the pipeline. Currently:
|
||||
// Windows 10, Windows 7, Windows 8.1 and Windows Nano
|
||||
|
||||
// One for just innerloop
|
||||
windowsPipeline.triggerPipelineOnEveryGithubPR("Portable ${osName} ${configurationGroup} Build", ['Config':configurationGroup, 'OuterLoop':false])
|
||||
// Add one for outerloop
|
||||
windowsPipeline.triggerPipelineOnGithubPRComment("Portable Outerloop ${osName} ${configurationGroup} Build", ['Config':configurationGroup, 'OuterLoop':true])
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
JobReport.Report.generateJobReport(out)
|
||||
|
||||
// Make the call to generate the help job
|
||||
Utilities.createHelperJob(this, project, branch,
|
||||
"Welcome to the ${project} Repository", // This is prepended to the help message
|
||||
"Have a nice day!") // This is appended to the help message. You might put known issues here.
|
||||
Reference in New Issue
Block a user