mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-30 15:43:32 +01:00
Appveyor CI: Switch to one URL per line
Part of 26979.
This commit is contained in:
parent
9b41eb2bc3
commit
3d3e62d147
@ -27,6 +27,7 @@
|
|||||||
# - fix github provider detection ('gitHub' or 'gitHubEnterprise', apparently)
|
# - fix github provider detection ('gitHub' or 'gitHubEnterprise', apparently)
|
||||||
# - make short commits 10 hexdigits long (that's what git does for tor)
|
# - make short commits 10 hexdigits long (that's what git does for tor)
|
||||||
# - generate correct branches and URLs for pull requests
|
# - generate correct branches and URLs for pull requests
|
||||||
|
# - switch to one URL per line
|
||||||
|
|
||||||
# This program is free software; you can redistribute it and/or modify it under the
|
# This program is free software; you can redistribute it and/or modify it under the
|
||||||
# terms of the GNU General Public License as published by the Free Software Foundation;
|
# terms of the GNU General Public License as published by the Free Software Foundation;
|
||||||
@ -155,17 +156,16 @@ def notify():
|
|||||||
messages.append(u"{branch_detail} - {repo_commit_author}: {repo_commit_message}")
|
messages.append(u"{branch_detail} - {repo_commit_author}: {repo_commit_message}")
|
||||||
|
|
||||||
if success:
|
if success:
|
||||||
m = u"Build #{build_version} passed. Details: {build_url}"
|
messages.append(u"Build #{build_version} passed. Details: {build_url}")
|
||||||
if failure:
|
if failure:
|
||||||
m = u"Build #{build_version} failed. Details: {build_url}"
|
messages.append(u"Build #{build_version} failed. Details: {build_url}")
|
||||||
|
|
||||||
if "commit_url" in apvy_vars:
|
if "commit_url" in apvy_vars:
|
||||||
m += " Commit: {commit_url}"
|
messages.append(u"Commit: {commit_url}")
|
||||||
|
|
||||||
if "pull_url" in apvy_vars:
|
if "pull_url" in apvy_vars:
|
||||||
m += " Pull: {pull_url}"
|
messages.append(u"Pull: {pull_url}")
|
||||||
|
|
||||||
messages.append(m)
|
|
||||||
else:
|
else:
|
||||||
messages = sys.argv[3:]
|
messages = sys.argv[3:]
|
||||||
messages = ' '.join(messages)
|
messages = ' '.join(messages)
|
||||||
|
Loading…
Reference in New Issue
Block a user