final String pastJobsPath = build.getEnvironment(listener).get('WORKSPACE') + "/pastjobs";
def recentLttngBranchesOfInterest = ['master', 'stable-2.10', 'stable-2.9']
-def recentLinuxBranchesOfInterest = ['master', 'linux-4.19.y', 'linux-4.14.y', 'linux-4.9.y']
+def recentLinuxBranchesOfInterest = ['master',
+ 'linux-5.1.y',
+ 'linux-5.0.y',
+ 'linux-4.19.y',
+ 'linux-4.14.y',
+ 'linux-4.9.y',
+ 'linux-4.4.y']
-def legacyLttngBranchesOfInterest = ['master', 'stable-2.10', 'stable-2.9', 'stable-2.7']
-def legacyLinuxBranchesOfInterest = ['linux-4.4.y']
+def legacyLttngBranchesOfInterest = []
+def legacyLinuxBranchesOfInterest = []
def vmLinuxBranchesOfInterest = ['linux-3.18.y']
// if the config has not changed, we keep it.
// if it's failed, we don't launch a new job and keep it failed.
jobInfo['status'] = pastJob['status'];
- if (pastJob['status'] == 'FAILED') {
+ if (pastJob['status'] == 'FAILED' &&
+ build.getBuildVariables().get('FORCE_FAILED_JOB_RUN') == 'false') {
println("${jobName} as not changed since the last failed run. Don't run it again.");
// Marked the umbrella job for failure but still run the jobs that since the
// last run.