Appveyor scheduled build

david.setty's Avatar

david.setty

28 Mar, 2017 10:16 AM

We want to run a scheduled build of our project which runs a massive suite of tests. As the test suite is so big, it cannot be run at each commit. So we want to schedule it every night.

I have added a build schedule - which you can see in the attached picture. However, this build runs each time there is a merge to develop, as well as on schedule. We do not want to run when there is a merge to develop - we run a much lighter suite of smoke tests for that. We only want to run this nightly.

in the appveyor.yml file we tried adding the following:
skip_commits:
  files:
    - '**/*.*'

Did not think that would work, and it did not. When we added the skip_commits it did not run at all, even the scheduled build.

How do I stop it running every time there is something added to develop, and have the build reliably run every evening?

  1. 1 Posted by Ilya Finkelshte... on 29 Mar, 2017 04:18 AM

    Ilya Finkelshteyn's Avatar

    Hi David,

    I would recommend to add 2 AppVeyor projects against the same repository (you can use custom YAML file name for second project). One project would run whole heave test set and run on schedule. To stop this project building on demand, just delete webhook on GitHub. Second project can still run on every commit, but change it's test set to only minimal BVT/Smoke sets, thus your developers will see immediately if something is fundamentally broken during a day.

    Ilya.

  2. 2 Posted by david.setty on 29 Mar, 2017 08:22 AM

    david.setty's Avatar

    Hi Ilya

    Thanks for getting back to me. This is exactly what we are trying to achieve. I have deleted the webhook. Hoping that fixes the problem.

    Thanks

    David

  3. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:15 AM.

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

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