Build Only Changes

alex.rhees's Avatar

alex.rhees

17 Jul, 2018 04:51 PM

Hello,

I've looked through the documentation and found this: https://www.appveyor.com/docs/how-to/filtering-commits/#include-commits-2, but when I push a change including only_commits.files through the REST API's Update Project Settings (YAML) endpoint, then requery to confirm the change took, it shows other changes I've pushed in the same update, but the only_commits section isn't present. Is it still there and not showing? Is there something I should be doing special for it? Is there any hope this function will get added to the site UI?

  1. Support Staff 1 Posted by Ilya Finkelshte... on 17 Jul, 2018 06:15 PM

    Ilya Finkelshteyn's Avatar

    Hi Alex,

    Sorry for confusion. Commit filtering are YAML-only settings and therefore are not available with REST API (even if you get or update settings in YAML and not JSON). So to take benefit of this feature, you project should use YAML file for configuration.

    We do not have plans to expose this feature in UI, at least in near future. There are many features like this or this which are YAML only and their number is growing. Generally we treat UI configuration as good place to start and when people need more sophisticated configurations, they switch to YAML.

    Ilya.

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