File tree Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Expand file tree Collapse file tree 2 files changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ import org.dotnet.ci.pipelines.Pipeline
2
+
3
+ def windowsPipeline = Pipeline . createPipeline(this , ' build/buildpipeline/windows.groovy' )
4
+
5
+ def configurations = [
6
+ ' Debug' ,
7
+ ' Release'
8
+ ]
9
+
10
+ configurations. each { configuration ->
11
+
12
+ def params = [
13
+ ' Configuration' : configuration
14
+ ]
15
+
16
+ windowsPipeline. triggerPipelineOnEveryGithubPR(" Windows ${ configuration} x64 Build" , params)
17
+ windowsPipeline. triggerPipelineOnGithubPush(params)
18
+
19
+ }
Original file line number Diff line number Diff line change
1
+ @Library (' dotnet-ci' ) _
2
+
3
+ // 'node' indicates to Jenkins that the enclosed block runs on a node that matches
4
+ // the label 'windows-with-vs'
5
+ simpleNode(' Windows.10.Enterprise.RS3.ASPNET' ) {
6
+ stage (' Checking out source' ) {
7
+ checkout scm
8
+ }
9
+ stage (' Build' ) {
10
+ def logFolder = getLogFolder()
11
+ def environment = " set ASPNETCORE_TEST_LOG_DIR=${ WORKSPACE} \\ ${ logFolder} "
12
+ bat " ${ environment} &.\\ run.cmd -CI default-build /p:Configuration=${ params.Configuration} "
13
+ }
14
+ }
You can’t perform that action at this time.
0 commit comments