summaryrefslogtreecommitdiff
path: root/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile19
1 files changed, 19 insertions, 0 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index a72d2bb1..74c86249 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -58,6 +58,25 @@ 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
+git clean -dfx
+msbuild windows\\ZeroTierOne.sln
+'''
+ }
+ }
+ catch (err) {
+ currentBuild.result = "FAILURE"
+ slackSend color: '#ff0000', message: "${env.JOB_NAME} broken on Windows (<${env.BUILD_URL}|Open>)"
+
+ throw err
+ }
+ }
}
slackSend color: "#00ff00", message: "${env.JOB_NAME} #${env.BUILD_NUMBER} Complete (<${env.BUILD_URL}|Show More...>)"