Permalink
Browse files

Fixed building with parameters

  • Loading branch information...
jansepar committed Dec 28, 2011
1 parent 09248f1 commit b15282b30075f8c67a1b8d693422f6dd982ce5a4
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/main.js
View
@@ -56,7 +56,7 @@ var init = exports.init = function(host) {
request({method: 'POST', url: build_url(BUILD, jobname)}, function(error, response, body) {
});
}else {
- request({method: 'POST', body: qs.stringify(params),url: build_url(BUILDWITHPARAMS, jobname)}, function(error, response, body) {
+ request({method: 'POST', url: build_url(BUILDWITHPARAMS+"?"+qs.stringify(params), jobname)}, function(error, response, body) {
});
}

0 comments on commit b15282b

Please sign in to comment.