add "on_all_success" and "on_all_failure" on appveyor.yml
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 :)
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
Support Staff 1 Posted by Feodor Fitsner on 08 Aug, 2014 09:52 PM
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 Posted by marocco2 on 08 Aug, 2014 10:00 PM
Well.. How can I run my scripts on the last job?
Support Staff 3 Posted by Feodor Fitsner on 08 Aug, 2014 10:03 PM
You can add condition (if it's PS for example), kind of "if platform == this and configuration == that".
4 Posted by marocco2 on 08 Aug, 2014 10:06 PM
On appveyor.yml? on_success?
Support Staff 5 Posted by Feodor Fitsner on 08 Aug, 2014 10:16 PM
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 Posted by marocco2 on 08 Aug, 2014 10:19 PM
Ok, thanks
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:46 AM.