15 lines
489 B
Groovy
15 lines
489 B
Groovy
@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') {
|
|
def logFolder = getLogFolder()
|
|
def environment = "set ASPNETCORE_TEST_LOG_DIR=${WORKSPACE}\\${logFolder}"
|
|
bat "${environment}&.\\run.cmd -CI default-build /p:Configuration=${params.Configuration}"
|
|
}
|
|
}
|