def job = Hudson.instance.getJob(jobName)
def params = []
for (paramdef in job.getProperty(ParametersDefinitionProperty.class).getParameterDefinitions()) {
- params += paramdef.getDefaultParameterValue();
+ // If there is a default value for this parameter, use it. Don't use empty
+ // default value parameters.
+ if (paramdef.getDefaultValue()) {
+ params += paramdef.getDefaultParameterValue();
+ }
}
params.add(new StringParameterValue('LTTNG_TOOLS_COMMIT_ID', runConfig.lttngToolsCommitId))
def recentLinuxBranchesOfInterest = ['master', 'linux-4.9.y', 'linux-4.4.y']
def legacyLttngBranchesOfInterest = ['stable-2.7']
-def legacyLinuxBranchesOfInterest = ['linux-3.18.y', 'linux-4.4.y']
+def legacyLinuxBranchesOfInterest = ['linux-3.18.y']
// Generate configurations of interest.
def configurationOfInterest = [] as Set
// Sleep before the next iteration.
try {
- Thread.sleep(10000)
+ Thread.sleep(30000)
} catch(e) {
if (e in InterruptedException) {
build.setResult(hudson.model.Result.ABORTED)