mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-01 03:25:35 +00:00
Add configuration name to AppVeyor IRC notification message
Since all AppVeyor builds are from the master branch, I replaced the branch name with the configuration name.
This commit is contained in:
parent
3d2bbf94b1
commit
bd020fe19f
@ -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}"
|
||||
|
@ -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}"
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user