diff --git a/.jenkins/staticanalysis.groovy b/.jenkins/staticanalysis.groovy index 46ac0691..d7d6cefd 100644 --- a/.jenkins/staticanalysis.groovy +++ b/.jenkins/staticanalysis.groovy @@ -39,8 +39,26 @@ def runCI = ci: { String urlJobName = auxiliary.getTopJobName(env.BUILD_URL) - properties(auxiliary.addCommonProperties([pipelineTriggers([cron('0 1 * * 6')])])) - stage(urlJobName) { - runCI([ubuntu20:['any']], urlJobName) + def propertyList = ["compute-rocm-dkms-no-npi-hipclang":[pipelineTriggers([cron('0 1 * * 0')])], + "rocm-docker":[]] + propertyList = auxiliary.appendPropertyList(propertyList) + + def jobNameList = ["compute-rocm-dkms-no-npi-hipclang":[]] + jobNameList = auxiliary.appendJobNameList(jobNameList) + + propertyList.each + { + jobName, property-> + if (urlJobName == jobName) + properties(auxiliary.addCommonProperties(property)) + } + + jobNameList.each + { + jobName, nodeDetails-> + if (urlJobName == jobName) + stage(jobName) { + runCI(nodeDetails, jobName) + } } }