Jenkins: Turn windows build errors into warnings
This commit is contained in:
parent
328b3cd072
commit
98d217f686
1 changed files with 23 additions and 15 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -94,7 +94,16 @@ def buildDockerfile(image) {
|
||||||
}
|
}
|
||||||
|
|
||||||
def windowsBuild() {
|
def windowsBuild() {
|
||||||
|
stage('Windows binary') {
|
||||||
|
warnError('windows build failed') {
|
||||||
node {
|
node {
|
||||||
|
windowsBuildCommands()
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
def windowsBuildCommands() {
|
||||||
deleteDir()
|
deleteDir()
|
||||||
unstash 'bin'
|
unstash 'bin'
|
||||||
docker.image('tobix/pywine').inside {
|
docker.image('tobix/pywine').inside {
|
||||||
|
@ -110,7 +119,6 @@ def windowsBuild() {
|
||||||
'''
|
'''
|
||||||
archiveArtifacts '*/scripts/dist/*'
|
archiveArtifacts '*/scripts/dist/*'
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// vim: set ft=groovy:
|
// vim: set ft=groovy:
|
||||||
|
|
Loading…
Reference in a new issue