parent
885679c8bd
commit
7606ae42d6
|
|
@ -0,0 +1,11 @@
|
||||||
|
@Library('dotnet-ci') _
|
||||||
|
|
||||||
|
simpleNode('Ubuntu16.04', 'latest-or-auto-docker') {
|
||||||
|
stage ('Checking out source') {
|
||||||
|
checkout scm
|
||||||
|
}
|
||||||
|
stage ('Build') {
|
||||||
|
def environment = 'export SIGNALR_TESTS_VERBOSE=1'
|
||||||
|
sh "${environment} && ./build.sh --ci"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,11 @@
|
||||||
|
@Library('dotnet-ci') _
|
||||||
|
|
||||||
|
simpleNode('OSX10.12','latest') {
|
||||||
|
stage ('Checking out source') {
|
||||||
|
checkout scm
|
||||||
|
}
|
||||||
|
stage ('Build') {
|
||||||
|
def environment = 'export SIGNALR_TESTS_VERBOSE=1'
|
||||||
|
sh "${environment} && ./build.sh --ci"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
import org.dotnet.ci.pipelines.Pipeline
|
||||||
|
|
||||||
|
def windowsPipeline = Pipeline.createPipeline(this, 'build/buildpipeline/windows.groovy')
|
||||||
|
def linuxPipeline = Pipeline.createPipeline(this, 'build/buildpipeline/linux.groovy')
|
||||||
|
def osxPipeline = Pipeline.createPipeline(this, 'build/buildpipeline/osx.groovy')
|
||||||
|
String configuration = 'Release'
|
||||||
|
def parameters = [
|
||||||
|
'Configuration': configuration
|
||||||
|
]
|
||||||
|
|
||||||
|
windowsPipeline.triggerPipelineOnEveryGithubPR("Windows ${configuration} x64 Build", parameters)
|
||||||
|
windowsPipeline.triggerPipelineOnGithubPush(parameters)
|
||||||
|
|
||||||
|
linuxPipeline.triggerPipelineOnEveryGithubPR("Ubuntu 16.04 ${configuration} Build", parameters)
|
||||||
|
linuxPipeline.triggerPipelineOnGithubPush(parameters)
|
||||||
|
|
||||||
|
osxPipeline.triggerPipelineOnEveryGithubPR("OSX 10.12 ${configuration} Build", parameters)
|
||||||
|
osxPipeline.triggerPipelineOnGithubPush(parameters)
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
@Library('dotnet-ci') _
|
||||||
|
|
||||||
|
// 'node' indicates to Jenkins that the enclosed block runs on a node that matches
|
||||||
|
// the label 'windows-with-vs'
|
||||||
|
simpleNode('Windows_NT','latest') {
|
||||||
|
stage ('Checking out source') {
|
||||||
|
checkout scm
|
||||||
|
}
|
||||||
|
stage ('Build') {
|
||||||
|
bat '.\\run.cmd -CI default-build'
|
||||||
|
}
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue