Skip to content

Commit

Permalink
Merge 'origin/jgfouca/cime/fix_jenkins_submit_to_non_default_mach' in…
Browse files Browse the repository at this point in the history
…to master (PR #1525)

Fix jenkins_generic_job when user selects specific machines.

Need to make sure wait_for_tests is aware of the custom machine so
that batch submission goes to correct machine.

This should fix cori-knl reporting.

[BFB]

* origin/jgfouca/cime/fix_jenkins_submit_to_non_default_mach:
  Fix jenkins_generic_job when user selects specific machines.
  • Loading branch information
jgfouca committed May 12, 2017
2 parents 7511657 + 7feb0d3 commit 08078e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/lib/jenkins_generic_job.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def jenkins_generic_job(generate_baselines, submit_to_cdash, no_batch,
else:
cdash_build_name = None

os.environ["CIME_MACHINE"] = machine.get_machine_name()
tests_passed = CIME.wait_for_tests.wait_for_tests(glob.glob("%s/*%s/TestStatus" % (test_root, test_id)),
no_wait=not use_batch, # wait if using queue
check_throughput=False, # don't check throughput
Expand Down

0 comments on commit 08078e1

Please sign in to comment.