How do I run a script after all matrix possibilities succeed

tpodolak's Avatar

tpodolak

24 Mar, 2019 06:33 PM

I've seen the same question asked a couple of years ago https://help.appveyor.com/discussions/questions/1164-how-do-i-run-a-script-after-all-matrix-possibilities-succeed, however at that point there was no built-in solution. Is there maybe sth which allows that now?

  1. Support Staff 1 Posted by Ilya Finkelshte... on 24 Mar, 2019 06:55 PM

    Ilya Finkelshteyn's Avatar

    We do not have built-in solution, but this sample can help you make it work. Just change it to the last job instead of first.

  2. 2 Posted by tpodolak on 25 Mar, 2019 10:02 AM

    tpodolak's Avatar

    Ok, will take a look into that. I have one more question though. In case of deployments will they run only if all jobs were successful, or they run one per job?

  3. Support Staff 3 Posted by Ilya Finkelshte... on 25 Mar, 2019 06:34 PM

    Ilya Finkelshteyn's Avatar

    There are two kinds of deployments -- Inline and Environment. Difference is described here.

    Inline happens if all previous steps in the build pipeline for specific job succeeded. Environment can be started manually separately.

    Any deployment tied to the job and it's artifacts and not the whole build. If you want one job to use artifacts from another job, you can check this script.

  4. 4 Posted by tpodolak on 08 Apr, 2019 10:40 PM

    tpodolak's Avatar

    Thanks for help, everything is clear now.

  5. Support Staff 5 Posted by Ilya Finkelshte... on 08 Apr, 2019 10:42 PM

    Ilya Finkelshteyn's Avatar

    Good :)

  6. Ilya Finkelshteyn closed this discussion on 08 Apr, 2019 10:42 PM.

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