Search code examples
pythonswigappveyor

Is it possible to get artifact from AppVeyor failed job?


I am trying to use AppVeyor as my CI for testing builds of M2Crypto and currently whole build process fails. Unfortunately, the main C file of the project SWIG/_m2crypto_wrap.c is generated by SWIG. For analysis of the issues with build I would need to see this generated C file. However, it seems to me that artefacts (defined in my appveyor.yml) is made available only with a successful build. Is it possible to allow access to these artefacts even from failed builds?


Solution

  • You can push artifact from script and set this script at on_finish or on_failure stage of build pipeline