16 lines
688 B
Groovy
16 lines
688 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.10.Amd64.EnterpriseRS3.ASPNET.Open') {
|
|
stage ('Checking out source') {
|
|
checkout scm
|
|
bat 'git submodule update --init --recursive'
|
|
}
|
|
stage ('Build') {
|
|
def logFolder = getLogFolder()
|
|
def environment = "\$env:ASPNETCORE_TEST_LOG_DIR='${WORKSPACE}\\${logFolder}'"
|
|
bat "powershell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command \"&.\\tools\\update_schema.ps1;${environment};&.\\run.cmd -CI default-build /p:Configuration=${params.Configuration}\""
|
|
}
|
|
}
|