Job without test artifacts?#817

Subscribe to Job without test artifacts? 2 post(s), 2 voice(s)

 
Avatar Bil Simser 59 post(s) #2178

I have a 3rd party library which has unit tests, but they’re written for MSTest which requires a full Team System install on the build server (trust me, I’ve been down this road trying to get MSTest to run on a build server with just binaries).

So as I’m testing Cruise I want it to build my system and create a distribution of the binaries. However I get an error trying to build it saying it requires a test artifact. Is there some way to get it just build the system and not run any tests?

 
Avatar Jez Humble Administrator 108 post(s) #2186

Hey Bil

If you mean that on the “tests” tab on the job detail page it shows an error message, then yes there is no way to fix this—you just have to ignore the tests tab. We plan to provide a way to make this page more configurable in future.

If you mean that the build won’t complete and fails without uploading your binaries, then there is indeed a problem. Cruise is not supposed to care whether or not you have tests in your build. Please give us more details (e.g. the configuration for the job and exactly where you’re seeing the error and what it says) and we’ll try and find out what’s happening.