summaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
diff options
context:
space:
mode:
Diffstat (limited to 'Jenkinsfile')
-rw-r--r--Jenkinsfile30
1 files changed, 28 insertions, 2 deletions
diff --git a/Jenkinsfile b/Jenkinsfile
index a4abbd076..5e3097833 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -27,9 +27,35 @@ pipeline {
}
}
stage("Build") {
- steps {
- sh 'echo "TODO: Replace Travis here."'
+ parallel {
+ stage("gcc") {
+ environment {
+ TRAVIS_CUBERITE_BUILD_TYPE = 'Release'
+ TRAVIS_JOB_NUMBER = "{$env.BUILD_ID}"
+ CC = "gcc"
+ CXX = "g++"
+ }
+ steps {
+ sh 'bash ./travisbuild.sh'
+ }
+ }
+ stage("clang") {
+ environment {
+ TRAVIS_CUBERITE_BUILD_TYPE = 'Debug'
+ TRAVIS_JOB_NUMBER = "{$env.BUILD_ID}"
+ CC = "clang"
+ CXX = "clang++"
+ }
+ steps {
+ sh 'bash ./travisbuild.sh'
+ }
+ }
}
}
}
+ post {
+ always {
+ cleanWs()
+ }
+ }
}