Skip to content

Make sure web hook gets called - #5249

Merged
Travis Plunk (TravisEz13) merged 4 commits into
PowerShell:masterfrom
TravisEz13:makeSureWebHookGetsCalled
Oct 27, 2017
Merged

Travis Plunk (TravisEz13) merged 4 commits into
PowerShell:masterfrom
TravisEz13:makeSureWebHookGetsCalled

Conversation

@TravisEz13

Copy link
Copy Markdown
Member

if something goes wrong during the build, we might exit and not update the badge or fire the webhook.

Enable the after_success and after_failure stages of the travis-ci build so we can have a better chance of getting these done.

@daxian-dbw Dongbo Wang (daxian-dbw) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this arrangement. It's cleaner. I left one comment.

Comment thread tools/travis.ps1 Outdated
$result = 'FAIL'
}

if ((-not $isPr) -and $cronBuild) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is -not $isPr necessary? $cronBuild is true only if $env:TRAVIS_EVENT_TYPE -eq 'cron'.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

resolved.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than Dongbo's comment

@TravisEz13
Travis Plunk (TravisEz13) merged commit ce03a6c into PowerShell:master Oct 27, 2017
@TravisEz13
Travis Plunk (TravisEz13) deleted the makeSureWebHookGetsCalled branch October 27, 2017 18:35
Thatgfsj (Thatgfsj) pushed a commit to Thatgfsj-contribs/PowerShell that referenced this pull request Aug 6, 2026
if something goes wrong during the build, we might exit and not update the badge or fire the webhook.

Enable the after_success and after_failure stages of the travis-ci build so we can have a better chance of getting these done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants