{
"path": "/posts/tumblr-musings/ruby-and-jenkins",
"site": "at://did:plc:ephkzpinhaqcabtkugtbzrwu/site.standard.publication/3mdogbputbg2m",
"tags": [
"jenkins",
"code",
"ruby",
"from-tumblr"
],
"$type": "site.standard.document",
"title": "Ruby and Jenkins",
"publishedAt": "2013-03-01T09:37:00.000Z",
"textContent": "I was trying to integrate my Cucumber and RSpec tests with Jenkins earlier this week and came across a bunch of character encoding errors.\n\nIt took me a while to figure out the problem, essentially Jenkins loads a session without all your usual environment variables, so your PATH and LANG won't be set to the same as a terminal window, making the outcomes different.\n\nMy Jenkins executed shell script now looks like this, note the PATH and LANG exports!",
"canonicalUrl": "https://www.byjp.me/posts/tumblr-musings/ruby-and-jenkins"
}