Prettify the Appveyor notification a little

[ci skip]

(Skipping CI because there's IMO no point rebuilding solely for
change in notification format.)
This commit is contained in:
Celtic Minstrel 2016-12-01 20:28:45 -05:00
parent ed15163b95
commit cec563cba2
3 changed files with 7 additions and 4 deletions

View file

@ -16,7 +16,7 @@ before_build:
- set PATH=C:\projects\external\dll;%PATH%
on_success:
- "python utils\\appveyor\\irc-notify.py wesnoth-dev [{project_name}:{branch}] {short_commit}: \\\"{message}\\\" ({author}) {color_green}Succeeded,Details: {build_url},Commit: {commit_url}"
- "python utils\\appveyor\\irc-notify.py wesnoth-dev {bold}{project_name} - {branch} {color_green}{author}{plain} {bold}{short_commit}: {plain}{message} {color_green}Succeeded,{bold}Details: {plain}{build_url},{bold}Commit: {plain}{commit_url}"
on_failure:
- "python utils\\appveyor\\irc-notify.py wesnoth-dev [{project_name}:{branch}] {short_commit}: \\\"{message}\\\" ({author}) {color_red}Failed,Details: {build_url},Commit: {commit_url}"
- "python utils\\appveyor\\irc-notify.py wesnoth-dev {bold}{project_name} - {branch} {color_green}{author}{plain} {bold}{short_commit}: {plain}{message} {color_red}Failed,{bold}Details: {plain}{build_url},{bold}Commit: {plain}{commit_url}"

View file

@ -23,7 +23,7 @@ build_script:
- msbuild projectfiles\VC14\wesnoth.sln /logger:"C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
on_success:
- "python utils\\appveyor\\irc-notify.py wesnoth-dev [{project_name}:{branch}] {short_commit}: \\\"{message}\\\" ({author}) {color_green}Succeeded,Details: {build_url},Commit: {commit_url}"
- "python utils\\appveyor\\irc-notify.py wesnoth-dev {bold}{project_name} - {branch} {color_green}{author}{plain} {bold}{short_commit}: {plain}{message} {color_green}Succeeded,{bold}Details: {plain}{build_url},{bold}Commit: {plain}{commit_url}"
on_failure:
- "python utils\\appveyor\\irc-notify.py wesnoth-dev [{project_name}:{branch}] {short_commit}: \\\"{message}\\\" ({author}) {color_red}Failed,Details: {build_url},Commit: {commit_url}"
- "python utils\\appveyor\\irc-notify.py wesnoth-dev {bold}{project_name} - {branch} {color_green}{author}{plain} {bold}{short_commit}: {plain}{message} {color_red}Failed,{bold}Details: {plain}{build_url},{bold}Commit: {plain}{commit_url}"

View file

@ -115,6 +115,9 @@ def appveyor_vars():
color_green='\x033',
color_red='\x034',
bold='\x02',
underline='\x1f',
plain='\x0f',
)
return vars