code: function all_builds(jobName, param, customParams, callback) {
  
        // TODO better name and handle the "param" ???
        var _doArgs17 = doArgs(arguments, ['string', ['string', 'id,timestamp,result,duration'], ['object', {}], 'function']);
  
        var _doArgs18 = _slicedToArray(_doArgs17, 4);
  
        jobName = _doArgs18[0];
        param = _doArgs18[1];
        customParams = _doArgs18[2];
        callback = _doArgs18[3];
        doRequest({
          urlPattern: [ALL_BUILDS, jobName, param],
          bodyProp: 'allBuilds'
        }, customParams, callback);
      }
docs: Get information for the all builds