mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
8883f974a8
commit
fcfa1a244e
1 changed files with 5 additions and 0 deletions
|
@ -698,6 +698,7 @@ def run(opts):
|
|||
except ValueError:
|
||||
print('Failed to load any JSON from {0!r}'.format(stdout.strip()))
|
||||
|
||||
'''
|
||||
# Run tests here
|
||||
time.sleep(3)
|
||||
cmd = (
|
||||
|
@ -740,7 +741,9 @@ def run(opts):
|
|||
if stdout:
|
||||
# Anything else, raise the exception
|
||||
raise
|
||||
'''
|
||||
|
||||
retcode = 0 # testing, remove this
|
||||
if retcode == 0:
|
||||
# Build packages
|
||||
time.sleep(3)
|
||||
|
@ -772,11 +775,13 @@ def run(opts):
|
|||
if 'Build complete' in stdout:
|
||||
download_packages(opts)
|
||||
|
||||
'''
|
||||
if opts.download_remote_reports:
|
||||
# Download unittest reports
|
||||
download_unittest_reports(opts)
|
||||
# Download coverage report
|
||||
download_coverage_report(opts)
|
||||
'''
|
||||
|
||||
if opts.clean and 'JENKINS_SALTCLOUD_VM_NAME' not in os.environ:
|
||||
delete_vm(opts)
|
||||
|
|
Loading…
Add table
Reference in a new issue