   else
     msg.reply "I couldn't find that job. Try `jenkins list` to get a list."
 
-jenkinsBuild = (msg) ->
+jenkinsBuild = (msg, buildWithEmptyParameters) ->
     url = process.env.HUBOT_JENKINS_URL
     job = querystring.escape msg.match[1]
     params = msg.match[3]
-
-    path = if params then "#{url}/job/#{job}/buildWithParameters?#{params}" else "#{url}/job/#{job}/build"
+    command = if buildWithEmptyParameters then "buildWithParameters" else "build"
+    path = if params then "#{url}/job/#{job}/buildWithParameters?#{params}" else "#{url}/job/#{job}/#{command}"
 
     req = msg.http(path)
 


            if content.description
              response += "DESCRIPTION: #{content.description}\n"
            
            response += "ENABLED: #{content.buildable}\n"
            response += "STATUS: #{content.color}\n"
            
            tmpReport = ""
            if content.healthReport.length > 0
              for report in content.healthReport

          msg.reply "Jenkins says: #{err}"
        else if 200 <= res.statusCode < 400 # Or, not an error code.
          msg.reply "(#{res.statusCode}) Build started for #{job} #{url}/job/#{job}"
        else if 400 == res.statusCode
          jenkinsBuild(msg, true)
        else
          msg.reply "Jenkins says: Status #{res.statusCode} #{body}"

