Skip to content

Commit c25cb7d

Browse files
committed
Fix profile.
1 parent 6f45542 commit c25cb7d

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.jenkins/Jenkinsfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,18 +112,16 @@ pipeline {
112112
def BUILD_PROFILE = "${BUILD_TYPE}"
113113
def SANITIZE = 'False'
114114

115+
if ("${ALLOC}" == 'libc') {
116+
PRERELEASE = 'False'
117+
}
115118
if ("${BUILD_TYPE}" == 'sanitize') {
116119
SANITIZE = 'True'
117120
BUILD_PROFILE = "debug"
118121
}
119-
120-
if ("${ALLOC}" == 'libc') {
122+
if ("${BUILD_TYPE}" == "release") {
121123
PRERELEASE = 'False'
122-
} else {
123-
if ("${BUILD_TYPE}" == "release") {
124-
PRERELEASE = 'False'
125-
BUILD_PROFILE = "test"
126-
}
124+
BUILD_PROFILE = "test"
127125
}
128126

129127
if (("${env.BRANCH_NAME}" =~ /PR-/) && ("$BUILD_TYPE" == "debug")) {

0 commit comments

Comments
 (0)