diff --git a/.appveyor.vs2013.yml b/.appveyor.vs2013.yml index a02a3cf3a92..ee30e4883a0 100644 --- a/.appveyor.vs2013.yml +++ b/.appveyor.vs2013.yml @@ -16,7 +16,7 @@ before_build: - set PATH=C:\projects\external\dll;%PATH% on_success: - - "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}" + - "python utils\\appveyor\\irc-notify.py wesnoth-dev {bold}{project_name} - {configuration_name} {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 {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}" + - "python utils\\appveyor\\irc-notify.py wesnoth-dev {bold}{project_name} - {configuration_name} {color_green}{author}{plain} {bold}{short_commit}: {plain}{message} {color_red}Failed,{bold}Details: {plain}{build_url},{bold}Commit: {plain}{commit_url}" diff --git a/.appveyor.vs2015.yml b/.appveyor.vs2015.yml index a95284f16f8..a2c57c1681a 100644 --- a/.appveyor.vs2015.yml +++ b/.appveyor.vs2015.yml @@ -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 {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}" + - "python utils\\appveyor\\irc-notify.py wesnoth-dev {bold}{project_name} - {configuration_name} {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 {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}" + - "python utils\\appveyor\\irc-notify.py wesnoth-dev {bold}{project_name} - {configuration_name} {color_green}{author}{plain} {bold}{short_commit}: {plain}{message} {color_red}Failed,{bold}Details: {plain}{build_url},{bold}Commit: {plain}{commit_url}" diff --git a/utils/appveyor/irc-notify.py b/utils/appveyor/irc-notify.py index 60a8fab59bf..93e65f62561 100644 --- a/utils/appveyor/irc-notify.py +++ b/utils/appveyor/irc-notify.py @@ -69,6 +69,7 @@ def appveyor_vars(): appveyor_url = environ.get('APPVEYOR_URL') message_extended = environ.get('APPVEYOR_REPO_COMMIT_MESSAGE_EXTENDED') + configuration_name = environ.get('CONFIGURATION') branch = environ.get('APPVEYOR_REPO_BRANCH') author = environ.get('APPVEYOR_REPO_COMMIT_AUTHOR') author_email = environ.get('APPVEYOR_REPO_COMMIT_AUTHOR_EMAIL') @@ -100,6 +101,7 @@ def appveyor_vars(): repo_provider=repo_provider, repo_name=repo_name, branch=branch, + configuration_name=configuration_name, author=author, author_email=author_email, timestamp=timestamp,