Skip to content

Commit

Permalink
More comments; remove debugging code
Browse files Browse the repository at this point in the history
  • Loading branch information
JonathanMeans committed Jan 29, 2020
1 parent 0be2452 commit c4cae2f
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions utils/jenkins.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@
import sys
import tarfile

"""
Jenkins script for NITRO.
The known good results are in nitro_gold.tar.gz.
If this file does not exist (Jenkins should handle this),
this script will create it. If the tarball does exist,
this script will run show_nitf on a collection of NITFs
(and possibly other tasks in the future) and compare the output.
"""


GOLD = 'nitro_gold.tar.gz'
NITF_VARNAME = 'JENKINS_NITF_LOCATION'
Expand All @@ -46,8 +55,6 @@ def get_previous_regression_files():
return [os.path.join(GOLD_DIR, nitf) for nitf in nitfs]
else:
# No known good files, so we'll generate them later for this job
print('Unable to find {}'.format(GOLD))
print(os.listdir(os.getcwd()))
return []


Expand Down

0 comments on commit c4cae2f

Please sign in to comment.