tag:help.appveyor.com,2012-11-13:/discussions/questions/35866-how-do-i-run-a-script-after-all-matrix-possibilities-succeedAppVeyor: Discussion 2019-04-08T22:42:56Ztag:help.appveyor.com,2012-11-13:Comment/471080092019-03-24T18:55:33Z2019-03-24T18:55:33ZHow do I run a script after all matrix possibilities succeed<div><p>We do not have built-in solution, but <a href="https://gist.github.com/IlyaFinkelshteyn/dc0b08593cb0babff2bd84dd05c4ee42">this</a> sample can help you make it work. Just change it to the last job instead of first.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/471080092019-03-25T10:02:40Z2019-03-25T10:02:40ZHow do I run a script after all matrix possibilities succeed<div><p>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?</p></div>tpodolaktag:help.appveyor.com,2012-11-13:Comment/471080092019-03-25T18:34:56Z2019-03-25T18:34:56ZHow do I run a script after all matrix possibilities succeed<div><p>There are two kinds of deployments -- <strong>Inline</strong> and <strong>Environment</strong>. Difference is described <a href="https://www.appveyor.com/docs/deployment/#overview">here</a>.</p>
<p><strong>Inline</strong> happens if all previous steps in the <a href="https://www.appveyor.com/docs/build-configuration/#build-pipeline">build pipeline</a> for specific <strong>job</strong> succeeded. <strong>Environment</strong> can be started manually separately.</p>
<p>Any deployment tied to the <strong>job</strong> and it's artifacts and not the whole build. If you want one job to use artifacts from another job, you can check <a href="https://gist.github.com/IlyaFinkelshteyn/79af78657660e118b15d3ab9d62ab8a1">this</a> script.</p></div>Ilya Finkelshteyntag:help.appveyor.com,2012-11-13:Comment/471080092019-04-08T22:40:50Z2019-04-08T22:40:50ZHow do I run a script after all matrix possibilities succeed<div><p>Thanks for help, everything is clear now.</p></div>tpodolaktag:help.appveyor.com,2012-11-13:Comment/471080092019-04-08T22:42:54Z2019-04-08T22:42:54ZHow do I run a script after all matrix possibilities succeed<div><p>Good :)</p></div>Ilya Finkelshteyn