Another goal to make it easier to obtain a version of lldb (currently 3.9) with scripts and documentation for platforms/distros like Centos, Alpine, Fedora, etc. that by default provide really old versions.
-This repo will also allow out of band development of new SOS and lldb plugin features like symbol server support and solve the source build problem having SOS.NETCore (managed portion of SOS) in the coreclr repo.
+This repo will also allow out of band development of new SOS and lldb plugin features like symbol server support for the .NET Core runtime and solve the source build problem having SOS.NETCore (managed portion of SOS) in the coreclr repo.
## Useful Links
-// Groovy Script: http://www.groovy-lang.org/syntax.html
-// Jenkins DSL: https://github.com/jenkinsci/job-dsl-plugin/wiki
-
// Import the pipeline declaration classes.
import org.dotnet.ci.pipelines.Pipeline
// The input branch name (e.g. master)
def branch = GithubBranchName
-class Constants {
-
- def static osList = [
- 'Windows_NT',
-// 'Ubuntu',
- 'Ubuntu16.04',
-// 'Ubuntu16.10',
-// 'Debian8.4',
- 'CentOS7.1',
-// 'RHEL7.2',
-// 'Fedora24'
- ]
-
- def static configurationList = [
-// 'Debug',
- 'Release'
- ]
-
- // This is the set of architectures
- def static architectureList = [
-// 'arm',
-// 'arm64',
- 'x64',
-// 'x86'
- ]
-
-}
+// Possible OS's
+//
+// 'Windows_NT'
+// 'Ubuntu'
+// 'Ubuntu16.04'
+// 'Ubuntu16.10'
+// 'Debian8.4'
+// 'RHEL7.2'
+// 'Fedora24'
+// 'CentOS7.1'
+// 'OSX10.12'
+
+// Possible Architechures
+//
+// 'arm',
+// 'arm64'
+// 'x86'
+// 'x64'
+
+def configurations = [
+ ['OS':'Windows_NT', 'Architechure':'x64', 'Configuration':'Release'],
+ ['OS':'Ubuntu16.04', 'Architechure':'x64', 'Configuration':'Release'],
+ ['OS':'CentOS7.1', 'Architechure':'x64', 'Configuration':'Release'],
+]
// Create build and test pipeline job
-def pipeline = Pipeline.createPipeline(this, project, branch, 'pipeline.groovy')
+def pipeline = Pipeline.createPipelineForGithub(this, project, branch, 'pipeline.groovy')
-Constants.osList.each { os ->
- Constants.architectureList.each { architechure ->
- Constants.configurationList.each { configuration ->
- def triggerName = "${os} ${architechure} ${configuration} Build and Test"
- def params = ['OS':os, 'Architechure':architechure, 'Configuration':configuration]
+configurations.each { configParams ->
+ def triggerName = "${configParams.OS} ${configParams.Architechure} ${configParams.Configuration} Build and Test"
- pipeline.triggerPipelineOnEveryPR(triggerName, params)
+ // Add PR trigger
+ pipeline.triggerPipelineOnEveryGithubPR(triggerName, configParams)
- // Add trigger to run on merge
- pipeline.triggerPipelineOnPush(params)
- }
- }
+ // Add trigger to run on merge
+ pipeline.triggerPipelineOnGithubPush(configParams)
}