Skip to content

Commit

Permalink
Using strict check as env.GENERATE_JOBS is set to any non-empty string (
Browse files Browse the repository at this point in the history
adoptium#5737)

Signed-off-by: Sophia Guo <[email protected]>
  • Loading branch information
sophia-guo authored Nov 7, 2024
1 parent a498bec commit f60aa9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildenv/jenkins/JenkinsfileBase
Original file line number Diff line number Diff line change
Expand Up @@ -1337,7 +1337,7 @@ def addFailedTestsGrinderLink(paths=""){

def generateJob (newJobs, childTest, testJobName) {
// If GENERATE_JOBS is set to true, force generate the child job. Otherwise, only generate the child job if it does not exist
if (env.GENERATE_JOBS) {
if (env.GENERATE_JOBS == 'true') {
newJobs[childTest] = {
echo "GENERATE_JOBS is set to true, set test job ${testJobName} params for generating the job"
createJob(testJobName, PLATFORM)
Expand Down

0 comments on commit f60aa9d

Please sign in to comment.