Last active
August 6, 2016 13:46
-
-
Save PureKrome/0f79e25693d574807939 to your computer and use it in GitHub Desktop.
AppVeyor build information
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$isPr = "No"; | |
if ($env:APPVEYOR_PULL_REQUEST_NUMBER) | |
{ | |
$isPr = "Yes = PR #: $env:APPVEYOR_PULL_REQUEST_NUMBER" | |
} | |
$isTag = "No"; | |
if ($env:APPVEYOR_REPO_TAG -eq $TRUE) | |
{ | |
$isTag = "Yes = Tag: $env:APPVEYOR_REPO_TAG_NAME" | |
} | |
"" | |
Write-Host " *** AppVeyor configuration information ***" -ForegroundColor Yellow | |
" Account Name: $env:APPVEYOR_ACCOUNT_NAME" | |
Write-Host " Version: $env:APPVEYOR_BUILD_VERSION" -ForegroundColor Red | |
if ($env:APPVEYOR_SCHEDULED_BUILD -eq $TRUE) | |
{ | |
Write-Host " ~~ A Scheduler started this build ~~" -ForegroundColor Black -BackgroundColor Yellow | |
} | |
"" | |
" Name: $env:APPVEYOR_REPO_NAME" | |
" Branch: $env:APPVEYOR_REPO_BRANCH" | |
Write-Host " Info: $env:APPVEYOR_REPO_COMMIT / $env:APPVEYOR_REPO_COMMIT_AUTHOR / $env:APPVEYOR_REPO_COMMIT_TIMESTAMP" -ForegroundColor Gray | |
Write-Host " '$env:APPVEYOR_REPO_COMMIT_MESSAGE'" -ForegroundColor Gray | |
" Is a PR: $isPr" | |
" Is a Tag: $isTag" | |
" Platform: $env:PLATFORM" | |
" Configuration: $env:CONFIGURATION" | |
" --------------------------------------------------------------------------" | |
"" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment