Easy way to stop build for non-tagged commits?

ferraro.joseph's Avatar

ferraro.joseph

08 Oct, 2015 01:36 PM

What is the easiest way to stop a build for non-tagged commits (or to not run the build altogether). I've tried detecting the presence of APPVEYOR_REPO_TAG_NAME and throwing an exit code but it does not seem to work.

Cheers

Joseph Ferraro

  1. Support Staff 1 Posted by Feodor Fitsner on 08 Oct, 2015 06:59 PM

    Feodor Fitsner's Avatar

    We'll add that on appveyor.yml later this week. Will be something like skip_non_tags: true

  2. 2 Posted by ferraro.joseph on 11 Oct, 2015 11:06 PM

    ferraro.joseph's Avatar

    Feodor, thanks for the prompt reply. Any idea the date when this will be added?

  3. Support Staff 3 Posted by Feodor Fitsner on 11 Oct, 2015 11:41 PM

    Feodor Fitsner's Avatar

    It's been implemented and deployed already. This is how to use it: https://github.com/appveyor/ci/issues/452#issuecomment-147151416

  4. 4 Posted by ferraro.joseph on 13 Oct, 2015 02:31 PM

    ferraro.joseph's Avatar

    @Feodor, thanks for the update. I've enabled this on my project, yet Appveyor continues to build non-tagged commits.

  5. Support Staff 5 Posted by Feodor Fitsner on 13 Oct, 2015 03:26 PM

    Feodor Fitsner's Avatar

    Do you have appveyor.yml?

    - Feodor

  6. 6 Posted by ferraro.joseph on 13 Oct, 2015 07:42 PM

    ferraro.joseph's Avatar

    I do, however, I set this option within the UI

  7. Support Staff 7 Posted by Feodor Fitsner on 13 Oct, 2015 07:56 PM

    Feodor Fitsner's Avatar

    If project is configured in appveyor.yml then you should add skip_non_tags: true there.

  8. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:00 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