Fixed wrong build conditions.

This commit is contained in:
Patrick 2023-09-17 15:27:08 +02:00
parent ed5237ca69
commit 8516e651f2

8
Jenkinsfile vendored
View File

@ -54,7 +54,7 @@ pipeline {
}
stage('Build Linux Release Templates') {
when {
expression { params.BUILD_EDITOR }
expression { params.BUILD_RELEASE_TEMPLATES }
}
steps {
sh 'scons -j8 platform=linuxbsd target=template_debug use_lto=yes'
@ -62,7 +62,7 @@ pipeline {
}
stage('Build Windows Editor') {
when {
expression { params.BUILD_EDITOR }
expression { params.BUILD_EDITOR_WINDOWS }
}
steps {
sh 'scons -j8 platform=windows arch=x86_64 use_lto=yes'
@ -70,7 +70,7 @@ pipeline {
}
stage('Build Windows Debug Templates') {
when {
expression { params.BUILD_DEBUG_TEMPLATES }
expression { params.BUILD_DEBUG_TEMPLATES_WINDOWS }
}
steps {
sh 'scons -j8 platform=windows target=template_release arch=x86_64 use_lto=yes'
@ -78,7 +78,7 @@ pipeline {
}
stage('Build Windows Release Templates') {
when {
expression { params.BUILD_EDITOR }
expression { params.BUILD_RELEASE_TEMPLATES_WINDOWS }
}
steps {
sh 'scons -j8 platform=windows target=template_debug arch=x86_64 use_lto=yes'