Bitbucket Triggering Builds On Non-code Updates

chris.harbert's Avatar

chris.harbert

22 Oct, 2019 08:26 PM

We've been seeing builds get triggered when there are updates to a pull request in Bitbucket (e.g. the description). Is there any way to change update the project settings / appveyor.yml so that builds are only triggered when there are actually code changes?

  1. Support Staff 1 Posted by Feodor Fitsner on 23 Oct, 2019 02:53 AM

    Feodor Fitsner's Avatar

    Hi Chris,

    On General tab of project settings you can check Do not build on "Pull request" events.

  2. 2 Posted by chris.harbert on 23 Oct, 2019 12:50 PM

    chris.harbert's Avatar

    If I check "Do not build on "Pull request" events", won't that disable pull
    requests altogether? I would like to run builds on pull requests, just not
    when updates are made to the pull request itself (e.g. the description of
    the pull request) instead of on the underlying code (e.g. a commit that
    updates the pull request). Is there a way to do this?

  3. Support Staff 3 Posted by Feodor Fitsner on 23 Oct, 2019 05:23 PM

    Feodor Fitsner's Avatar

    I see. It looks like there is only one event (pullrequest:updated) on all PR updates (both commits and PR details): https://confluence.atlassian.com/bitbucket/event-payloads-740262817...

  4. 4 Posted by chris.harbert on 01 Nov, 2019 07:47 PM

    chris.harbert's Avatar

    ** Send alerts to know when important tests fail
    ------------------------------------------------------------

    ** Specify Criteria for Alerts
    ------------------------------------------------------------

    Before you could send alerts when a test run passed, failed, or completed. Now you have the ability to specify a criteria, giving you more control over which test runs send alerts. For example, you can now match on environment, branch name, or even pass/fail counts.
    Visit Testery (https://testery.us17.list-manage.com/track/click?u=6e57cf2075d4a971b79360fbb&id=56b108287c&e=e4076deaa6)

    **
    Bitbucket integration
    ------------------------------------------------------------

    You can now use Bitbucket not only for login but also as a source for tests. Test runs will now be associated with specific Bitbucket commits.

    ** Opsgenie Alerts
    ------------------------------------------------------------

    You can also configure Testery to send test run results to Opsgenie. This pairs well with criteria-based alerts and is great for monitoring situations (e.g. create an alert in Opsgenie when more than 5 smoke tests fail in production).

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

05 Dec, 2019 09:12 PM
04 Dec, 2019 07:46 PM
04 Dec, 2019 12:01 AM
04 Dec, 2019 12:00 AM
03 Dec, 2019 11:00 PM