Skip to content

Commit c529751

Browse files
Fix pipeline generation in flake finder (#39362)
1 parent ef18cb2 commit c529751

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tasks/testwasher.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,9 +241,8 @@ def generate_flake_finder_pipeline(ctx, n=3, generate_config=False):
241241
and job_details['variables']['SHOULD_RUN_IN_FLAKES_FINDER'] == "true"
242242
and not job.startswith(".")
243243
):
244-
# Let's exclude job that are retried for now until we find a solution to tackle them
245244
if 'retry' in job_details:
246-
continue
245+
job_details['retry'] = {}
247246
kept_job[job] = job_details
248247

249248
# Remove rules, extends and retry from the jobs, update needs to point to parent pipeline
@@ -266,6 +265,7 @@ def generate_flake_finder_pipeline(ctx, n=3, generate_config=False):
266265
new_jobs = {}
267266
new_jobs['variables'] = copy.deepcopy(config['variables'])
268267
new_jobs['default'] = copy.deepcopy(config['default'])
268+
new_jobs['default']['retry'] = {} # Do not retry job by default in flake finder
269269
new_jobs['variables']['PARENT_PIPELINE_ID'] = 'undefined'
270270
new_jobs['variables']['PARENT_COMMIT_SHA'] = 'undefined'
271271
new_jobs['variables']['PARENT_COMMIT_SHORT_SHA'] = 'undefined'

0 commit comments

Comments
 (0)