Having trouble building
Heya,
I have a Rails project, and I have a rake task called "ci" whcih I've configured TeamCity to run.
The build fails mysteriously, and when I run "rake ci" from the work directory, the tests all pass.
It seems that even though I'm using the Rake runner, TeamCity is running the following command (with the spec files list truncated):
/opt/ruby-enterprise/bin/ruby -I"lib" "/home/build/TeamCity/buildAgent/work/a863118e240d0f7/tmp/isolate/ruby-1.8/gems/rspec-1.3.0/bin/spec" "spec/lib/credit_card_validations_spec.rb"
How do I force TeamCity to use my Rake task?
Thanks,
-Steven
Please sign in to leave a comment.
Hello Steven,
Please attach a full build log.
I suppose that this command was launched by your spec rake task. Definitely TeamCity doesn't know about "spec" script command line format.