Skip to content
Permalink
Browse files

JENKINS-12880 Changed os key to be uppercase

  • Loading branch information
rossrowe committed Feb 26, 2012
1 parent a3949e2 commit 18855a24fb5e8b023dbb59bcdc9ce24bdc0f67f3
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/main/java/hudson/plugins/sauce_ondemand/SauceOnDemandBuildWrapper.java
@@ -115,9 +115,10 @@ public void buildEnvVars(Map<String, String> env) {
Browser browserInstance = BrowserFactory.getInstance().forKey(browser);
JSONObject config = new JSONObject();
try {
config.put("os", browserInstance.getOs());
config.put("os", browserInstance.getPlatform().toString());
config.put("browser", browserInstance.getBrowserName());
config.put("browser-version", browserInstance.getVersion());
config.put("url", browserInstance.getUri());
} catch (JSONException e) {
e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
}

0 comments on commit 18855a2

Please sign in to comment.
You can’t perform that action at this time.