mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-02-22 02:16:38 +00:00
jenkins windows
This commit is contained in:
parent
54e25084fe
commit
d8597884f6
33
Jenkinsfile
vendored
33
Jenkinsfile
vendored
@ -60,25 +60,24 @@ parallel 'centos7': {
|
|||||||
throw err
|
throw err
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// }, 'windows': {
|
}, 'windows': {
|
||||||
// node('windows') {
|
node('windows') {
|
||||||
// try {
|
try {
|
||||||
// checkout scm
|
checkout scm
|
||||||
|
|
||||||
// stage('Build Windows') {
|
stage('Build Windows') {
|
||||||
// bat '''CALL "C:\\Program Files (x86)\\Microsoft Visual Studio 14.0\\VC\\vcvarsall.bat" amd64
|
bat '''CALL "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Community\\VC\\Auxiliary\\Build\\vcvars32.bat" x64
|
||||||
// git clean -dfx
|
msbuild windows\\ZeroTierOne.sln
|
||||||
// msbuild windows\\ZeroTierOne.sln
|
'''
|
||||||
// '''
|
}
|
||||||
// }
|
}
|
||||||
// }
|
catch (err) {
|
||||||
// catch (err) {
|
currentBuild.result = "FAILURE"
|
||||||
// currentBuild.result = "FAILURE"
|
mattermostSend color: '#ff0000', message: "${env.JOB_NAME} broken on Windows (<${env.BUILD_URL}|Open>)"
|
||||||
// mattermostSend color: '#ff0000', message: "${env.JOB_NAME} broken on Windows (<${env.BUILD_URL}|Open>)"
|
|
||||||
|
|
||||||
// throw err
|
throw err
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mattermostSend color: "#00ff00", message: "${env.JOB_NAME} #${env.BUILD_NUMBER} Complete (<${env.BUILD_URL}|Show More...>)"
|
mattermostSend color: "#00ff00", message: "${env.JOB_NAME} #${env.BUILD_NUMBER} Complete (<${env.BUILD_URL}|Show More...>)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user