We were struggling for a bit yesterday trying to figure out why the few
puts statements in our tests weren’t being displayed in Jenkins’ console output.
It turns out the
ci_reporter gem that we were using (so that Jenkins could parse our test results) swallows
stderr by default — unless you set the
CI_CAPTURE environment variable to the string
"off", like it tells you to do in the readme.
That was a confusing default setting. Since my pair and I weren’t involved in setting up Jenkins, and we didn’t install the
ci_reporter gem, we assumed something was misconfigured in Jenkins before we started digging through the code.
Hopefully this saves someone else some time!
CCMenu + Hudson w/o Basic Auth
“Has anyone figured out how to use CCMenu with Hudson and not have Basic Auth?”
Hudson has its own authorization mechanism, unlike Basic Auth, so it can’t be used with nice desktop tools like CCMenu which shows the red/green square in your system tray.
Consider using Jenkins.
Using Symlinks with Dropbox
Using the Linux Dropbox client seems to allow symlinks to be uploaded, but they will not behave as expect anywhere else. Someone was trying to have a “latest” folder point to the latest versioned folder.
The recommendation was just to have two copies of the files as a workaround.
Rails Bridge Outreach for Women Workshop has space
Looking to learn Rails? There’s a great meetup to get you up and running. As of this writing there is still space available. Come check the event out.
- “How do you change the address and port that Solr is running on?”
Somewhere in the server.xml file was suggested, however that didn’t seem to work. The workaround was using IP Tables.
as_json (with options) seems to always be called with an explicit nil argument from to_json under Rails 3. Some people just use as_json explicitly, or pass an explicit empty hash as the arg to get around this oddity.
Jenkins now supports Ruby plugins.
Support Movember! Pivotal has raised quite a bit of money and you can too.
*Is there a way to change the URL that CCRB pulls from when it builds?
“Use Jenkins” (we will be standardizing on Jenkins in the near future anyway)
Apparently the answer has been found successfully in the past by grepping through the Ruby portion of the CCRB source.
Hack For Change, sponsored by Change.org is inviting engineers and designers to spend 24 hours to build a web or mobile app that can help advance positive change. Top-rated hacks will be awarded a total of $10,000 to ensure their continued success and will gain recognition through widespread media coverage and promotion. http://hackforchange.com
Guiderails: Pivotal’s Rails 3 Templates, has been made publicly available on GitHub. https://github.com/pivotal/guiderails
While there is not consensus on how hash tags in URLs that are being redirected should be handled, Safari stands apart from most other modern browsers by throwing them away entirely.
When configuring a new project for Jenkins, remember to specify the branch to build, otherwise Jenkins will try to pull and build all branches from the repo.
Jasmine has a bug in its “runs and waits for” construct that causes it to ignore changes to the defaults for the timer and message on the “waits for” block.