Jenkins: Turn windows build errors into warnings

This commit is contained in:
Tobias Gruetzmacher 2019-07-14 12:47:58 +02:00
parent 328b3cd072
commit 98d217f686

10
Jenkinsfile vendored
View file

@ -94,7 +94,16 @@ def buildDockerfile(image) {
}
def windowsBuild() {
stage('Windows binary') {
warnError('windows build failed') {
node {
windowsBuildCommands()
}
}
}
}
def windowsBuildCommands() {
deleteDir()
unstash 'bin'
docker.image('tobix/pywine').inside {
@ -111,6 +120,5 @@ def windowsBuild() {
archiveArtifacts '*/scripts/dist/*'
}
}
}
// vim: set ft=groovy: