mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 20:13:44 +02:00
add windows build to Jenkinsfile
This commit is contained in:
parent
8472918559
commit
cf59362c4a
1 changed files with 18 additions and 0 deletions
18
Jenkinsfile
vendored
18
Jenkinsfile
vendored
|
@ -58,6 +58,24 @@ parallel 'centos7': {
|
|||
throw err
|
||||
}
|
||||
}
|
||||
}, 'windows': {
|
||||
node('windows') {
|
||||
try {
|
||||
checkout scm
|
||||
|
||||
stage('Build Windows') {
|
||||
bat '''CALL "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat" amd64
|
||||
|
||||
devenv windows\\ZeroTierOne.sln /clean
|
||||
devenv windows\\ZeroTierOne.sln /build
|
||||
'''
|
||||
}
|
||||
}
|
||||
catch (err) {
|
||||
currentBuild.result = "FAILURE"
|
||||
slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on Windows (<${env.BUILD_URL}|Open>)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
slackSend color: "#00ff00", message: "${env.JOB_NAME} #${env.BUILD_NUMBER} Complete (<${env.BUILD_URL}|Show More...>)"
|
||||
|
|
Loading…
Add table
Reference in a new issue