mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix syntax errors
This commit is contained in:
parent
360949c0e0
commit
6e0f4da593
1 changed files with 2 additions and 2 deletions
|
@ -145,7 +145,7 @@ def echo_parseable_environment(options):
|
|||
)
|
||||
|
||||
headers = {}
|
||||
url = 'https://api.github.com/repos/saltstack/salt/pulls/{0}'.format(values)
|
||||
url = 'https://api.github.com/repos/saltstack/salt/pulls/{0}'.format(options.pull_request)
|
||||
|
||||
github_access_token_path = os.path.join(
|
||||
os.environ.get('JENKINS_HOME', os.path.expanduser('~')),
|
||||
|
@ -168,7 +168,7 @@ def echo_parseable_environment(options):
|
|||
output.extend([
|
||||
'SALT_PR_GIT_URL={0}'.format(pr_details['head']['repo']['clone_url']),
|
||||
'SALT_PR_GIT_BRANCH={0}'.format(pr_details['head']['ref']),
|
||||
'SALT_PR_GIT_COMMIT={0}'.format(pr_details['head']['sha'])
|
||||
'SALT_PR_GIT_COMMIT={0}'.format(pr_details['head']['sha']),
|
||||
'SALT_PR_GIT_BASE_BRANCH={0}'.format(pr_details['base']['ref']),
|
||||
])
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue