add "on_all_success" and "on_all_failure" on appveyor.yml

marocco2's Avatar


06 Aug, 2014 01:00 PM

Hi all.
I build my app on different configurations and platform and I want tag successful builds, but if I use "on_success" it creates every tag for every build, so I want a function that works only if all builds are successful.

Thanks :)

  1. Support Staff 1 Posted by Feodor Fitsner on 08 Aug, 2014 09:52 PM

    Feodor Fitsner's Avatar

    Well, I'm not sure it could be easily implemented as job exactly the thing running build script and there is nothing on top of it capable doing so. Build is just a logical group for build jobs.

    What if you tag the repo in the very last job only. The order of jobs is quite deterministic right now.

  2. 2 Posted by marocco2 on 08 Aug, 2014 10:00 PM

    marocco2's Avatar

    Well.. How can I run my scripts on the last job?

  3. Support Staff 3 Posted by Feodor Fitsner on 08 Aug, 2014 10:03 PM

    Feodor Fitsner's Avatar

    You can add condition (if it's PS for example), kind of "if platform == this and configuration == that".

  4. 4 Posted by marocco2 on 08 Aug, 2014 10:06 PM

    marocco2's Avatar

    On appveyor.yml? on_success?

  5. Support Staff 5 Posted by Feodor Fitsner on 08 Aug, 2014 10:16 PM

    Feodor Fitsner's Avatar

    Yeah, if you enable "fast_finish" and manage to succeed the last job you can assume the entire build was successful. I know it doesn't sound "reliable", but you you can give it a try.

  6. 6 Posted by marocco2 on 08 Aug, 2014 10:19 PM

    marocco2's Avatar

    Ok, thanks 

  7. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:46 AM.

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