only_commits.files not honored

mperron's Avatar


20 Mar, 2019 08:01 PM

It feels like the appveyor.yaml only_commit.files rule doesn't always run.

We use a monorepo with tons of different projects. But the only_commit rule doesn't seem to be always honored. For instance this build was triggered when absolutely no files under {root}/backend/dashboard/ was changed.

See what files were changed by this commit here

What can we do to fix this? This causes our CI to get clogged with builds of the wrong projects and it's super annoying.

version: $(major).$(minor).$(patch).{build}
  patch: true
  file: '**\AssemblyInfo.*'
  assembly_version: '{version}'
  assembly_file_version: '{version}'
  assembly_informational_version: '{version}'
  - master
  - staging
  - production
skip_tags: true
image: Visual Studio 2017
configuration: Release
  major: 1
  minor: 0
  patch: 127
  - backend/dashboard/packages
    - backend/dashboard/
- cmd: >-
    cd backend/dashboard

    nuget restore
  project: backend\dashboard\Ueat.Dashboard.Api\Ueat.Dashboard.Api.csproj
  publish_wap: true
  verbosity: minimal
- provider: Environment
  name: myenv
    branch: production
  1. 1 Posted by mperron on 20 Mar, 2019 08:02 PM

    mperron's Avatar

    (updated the above post)

  2. 2 Posted by Owen McDonnell on 21 Mar, 2019 04:06 AM

    Owen McDonnell's Avatar

    Can you link to a specific build that this occured on?

  3. 3 Posted by mperron on 21 Mar, 2019 03:21 PM

    mperron's Avatar

    Yes I can, this one for instance:

    It looks like the AppVeyor build failed to read the appveyor.yaml file, even if it's definitely there.

  4. 4 Posted by mperron on 21 Mar, 2019 03:23 PM

    mperron's Avatar

    Here is another example:

    This time we don't have the appveyor.yaml not found error, it's the Specify which project or solution file to use because the folder contains more than one project or solution file. variant.

  5. 5 Posted by mperron on 21 Mar, 2019 04:26 PM

    mperron's Avatar


  6. 6 Posted by Ilya Finkelshte... on 21 Mar, 2019 05:44 PM

    Ilya Finkelshteyn's Avatar

    Can you please open, and check Bitbucket authorization? Revoke and authorize Bitbucket again if needed (this will not break any settings).

  7. 7 Posted by mperron on 21 Mar, 2019 08:34 PM

    mperron's Avatar

    Thansk Ilya, we're trying this now.

  8. 8 Posted by mperron on 29 Mar, 2019 05:07 PM

    mperron's Avatar

    Hey Ilya, this seems to have fixed all of our issues. Thanks!

  9. 9 Posted by Ilya Finkelshte... on 29 Mar, 2019 05:11 PM

    Ilya Finkelshteyn's Avatar

    Great, thanks for the update!

  10. Ilya Finkelshteyn closed this discussion on 29 Mar, 2019 05:11 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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

07 Jul, 2020 03:15 PM
07 Jul, 2020 02:31 PM
05 Jul, 2020 02:33 AM
03 Jul, 2020 07:29 PM
03 Jul, 2020 03:53 AM


02 Jul, 2020 09:09 PM
02 Jul, 2020 03:24 PM
01 Jul, 2020 01:12 PM
30 Jun, 2020 04:26 PM
25 Jun, 2020 05:54 PM
24 Jun, 2020 08:11 AM