Enable test file logging on Jenkins (#2588)
This commit is contained in:
parent
65605647bb
commit
e8f9119d4b
|
|
@ -5,6 +5,8 @@ simpleNode('Ubuntu16.04', 'latest-or-auto-docker') {
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
stage ('Build') {
|
stage ('Build') {
|
||||||
sh "./build.sh --ci /p:Configuration=${params.Configuration}"
|
def logFolder = getLogFolder()
|
||||||
|
def environment = "ASPNETCORE_TEST_LOG_DIR=${WORKSPACE}/${logFolder}"
|
||||||
|
sh "${environment} ./build.sh --ci /p:Configuration=${params.Configuration}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,8 @@ simpleNode('OSX10.12','latest') {
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
stage ('Build') {
|
stage ('Build') {
|
||||||
sh "./build.sh --ci /p:Configuration=${params.Configuration}"
|
def logFolder = getLogFolder()
|
||||||
|
def environment = "ASPNETCORE_TEST_LOG_DIR=${WORKSPACE}/${logFolder}"
|
||||||
|
sh "${environment} ./build.sh --ci /p:Configuration=${params.Configuration}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,8 @@ simpleNode('Windows_NT','latest') {
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
stage ('Build') {
|
stage ('Build') {
|
||||||
bat ".\\run.cmd -CI default-build /p:Configuration=${params.Configuration}"
|
def logFolder = getLogFolder()
|
||||||
|
def environment = "set ASPNETCORE_TEST_LOG_DIR=${WORKSPACE}\\${logFolder}"
|
||||||
|
bat "${environment}&.\\run.cmd -CI default-build /p:Configuration=${params.Configuration}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue