Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
hudson gem dependency prevents install in jruby 1.5.1 #4
Question: We're exploring building our project using hudson. Our products are deployed as war files w/warbler. Many of our tests must run in jruby. Are we screwed?
This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Let me start by saying that you are definitely not screwed (at least as far as hudson.rb goes. I can't say otherwise :))
hudson.rb is just a ruby command line for interacting with hudson server(s). You can use it to manage a hudson server as well as control with a running instance, but all it does under the covers is use the JSON api. In fact, you don't strictly need the hudson gem to use hudson to build ruby projects at all. Instead, you could just download the warfile and run it in your servlet container of choice.
Our goal is to make it painless to deploy and use hudson, especially with ruby projects.
The actual builds that hudson performs only need a shell environment. What you have in that shell is entirely up to you.
That said, hudson.rb should probably run on jruby, so this is very much a valid issue. It looks like the yajl extension we use to parse the JSON from the hudson server is c-based rubies only.