Standard Jenkins shell build step for testing a Rails app?

9 views
Skip to first unread message

Jeff

unread,
Jun 12, 2015, 2:55:30 PM6/12/15
to jenkins...@googlegroups.com
Hi,

I've used Jenkins as a developer but never configured it myself. I'm not setting it up for the first time and am stuck trying to get the shell script build step to work. I want it to run all the Rails tests and tell me whether they pass.

This seems like a standard question but my Google searching has been unhelpful.

Does anyone know what the standard shell instructions are for testing a Rails app from within Jenkins? I want to do something like:

bundle install
bundle exec rake spec

Seems simple but it doesn't work.

Thanks

Christopher Orr

unread,
Jun 16, 2015, 7:02:46 PM6/16/15
to jenkins...@googlegroups.com
Could you possibly expand on "it doesn't work"?
Problems with installing gems, or something?

Does using the Rake or RVM plugins help?

-Chris (not a Ruby developer)

Reply all
Reply to author
Forward
0 new messages