diff options
author | Alexander Harkness <me@bearbin.net> | 2021-06-17 10:31:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-17 10:31:29 +0200 |
commit | 4e48464bb3708968e1f15455cc2a11ae3acec3fe (patch) | |
tree | dde6a089fef9506d5466aea01dbbcdbcffdcb137 /Jenkinsfile | |
parent | Migrate off CircleCI to Jenkins (#5230) (diff) | |
download | cuberite-4e48464bb3708968e1f15455cc2a11ae3acec3fe.tar cuberite-4e48464bb3708968e1f15455cc2a11ae3acec3fe.tar.gz cuberite-4e48464bb3708968e1f15455cc2a11ae3acec3fe.tar.bz2 cuberite-4e48464bb3708968e1f15455cc2a11ae3acec3fe.tar.lz cuberite-4e48464bb3708968e1f15455cc2a11ae3acec3fe.tar.xz cuberite-4e48464bb3708968e1f15455cc2a11ae3acec3fe.tar.zst cuberite-4e48464bb3708968e1f15455cc2a11ae3acec3fe.zip |
Diffstat (limited to '')
-rw-r--r-- | Jenkinsfile | 30 |
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() + } + } } |