mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
check mid stage
This commit is contained in:
parent
ff7d64283d
commit
d507db5b85
2 changed files with 3 additions and 1 deletions
|
|
@ -13,4 +13,5 @@ variables:
|
|||
|
||||
stages:
|
||||
- template: templates/stages/test-and-package-stage.yml
|
||||
- template: templates/stages/changelog-stage.yml
|
||||
- template: templates/stages/notify-stage.yml
|
||||
|
|
|
|||
|
|
@ -34,9 +34,10 @@ def get_message():
|
|||
r = requests.get(timeline_url)
|
||||
data = r.json()
|
||||
for x in data['records']:
|
||||
if x['name'] == 'Deploy':
|
||||
if x['name'] == 'Changelog':
|
||||
deploy_result = x['result']
|
||||
break
|
||||
print(f'deploy_result is {deploy_result}')
|
||||
|
||||
# or data[-6(-ish)]['result']
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue