diff --git a/CIME/Tools/jenkins_generic_job b/CIME/Tools/jenkins_generic_job index 0c1a05a128e..9787aedab13 100755 --- a/CIME/Tools/jenkins_generic_job +++ b/CIME/Tools/jenkins_generic_job @@ -180,6 +180,12 @@ OR help="Do not fail if there are memleaks", ) + parser.add_argument( + "--ignore-namelists", + action="store_true", + help="Do not fail if there are namelist diffs", + ) + parser.add_argument( "--save-timing", action="store_true", @@ -265,6 +271,7 @@ OR args.check_throughput, args.check_memory, args.ignore_memleak, + args.ignore_namelists, args.save_timing, args.pes_file, args.jenkins_id, @@ -296,6 +303,7 @@ def _main_func(description): check_throughput, check_memory, ignore_memleak, + ignore_namelists, save_timing, pes_file, jenkins_id, @@ -325,6 +333,7 @@ def _main_func(description): check_throughput, check_memory, ignore_memleak, + ignore_namelists, save_timing, pes_file, jenkins_id, diff --git a/CIME/jenkins_generic_job.py b/CIME/jenkins_generic_job.py index e89e7ec2e9c..d68bc2b007c 100644 --- a/CIME/jenkins_generic_job.py +++ b/CIME/jenkins_generic_job.py @@ -279,6 +279,7 @@ def jenkins_generic_job( check_throughput, check_memory, ignore_memleak, + ignore_namelists, save_timing, pes_file, jenkins_id, @@ -421,7 +422,7 @@ def jenkins_generic_job( no_wait=not use_batch, # wait if using queue check_throughput=check_throughput, check_memory=check_memory, - ignore_namelists=False, # don't ignore namelist diffs + ignore_namelists=ignore_namelists, ignore_memleak=ignore_memleak, cdash_build_name=cdash_build_name, cdash_project=cdash_project,