mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Merge pull request #18439 from rallytime/jenkins_argparse
Jenkins argparse
This commit is contained in:
commit
817a0a4f8b
@ -117,7 +117,7 @@ def delete_vm(options):
|
||||
proc.communicate()
|
||||
|
||||
|
||||
def echo_parseable_environment(options):
|
||||
def echo_parseable_environment(options, parser):
|
||||
'''
|
||||
Echo NAME=VAL parseable output
|
||||
'''
|
||||
@ -959,7 +959,7 @@ def parse():
|
||||
parser.exit('--provider or --pull-request is required')
|
||||
|
||||
if options.echo_parseable_environment:
|
||||
echo_parseable_environment(options)
|
||||
echo_parseable_environment(options, parser)
|
||||
parser.exit(0)
|
||||
|
||||
if not options.test_git_commit and not options.pull_request:
|
||||
|
Loading…
Reference in New Issue
Block a user