lib/main.js
/**
     * Get information for the last completed build of a job
     *
     * @param {string} jobName
     * @param {object|undefined} customParams is optional
     * @param {function} callback
     */
Get information for the last completed build of a job
@param {string} jobName
@param {object|undefined} customParams is optional
@param {function} callback
Get information for the last completed build of a job @param { string } jobName @param { object|undefined } customParams is optional @param { function } callback
function last_completed_build_info(jobName, customParams, callback) {
      var _doArgs13 = doArgs(arguments, ['string', ['object', {}], 'function']);
      var _doArgs14 = _slicedToArray(_doArgs13, 3);
      jobName = _doArgs14[0];
      customParams = _doArgs14[1];
      callback = _doArgs14[2];
      handleCrumbFlagAndRequest(customParams, function (params, headers) {
        doRequest({
          urlPattern: [LAST_COMPLETED_BUILD, jobName],
          request: {
            headers: headers
          }
        }, params, callback);
      });
    }
function last_completed_build_info ( jobName , customParams , callback ) { var _doArgs13 = doArgs ( arguments , [ 'string' , [ 'object' , { } ] , 'function' ] ) ; var _doArgs14 = _slicedToArray ( _doArgs13 , 3 ) ; jobName = _doArgs14 [ 0 ] ; customParams = _doArgs14 [ 1 ] ; callback = _doArgs14 [ 2 ] ; handleCrumbFlagAndRequest ( customParams , function ( params , headers ) { doRequest ( { urlPattern : [ LAST_COMPLETED_BUILD , jobName ] , request : { headers : headers } } , params , callback ) ; } ) ; }
Get information for the last completed build of a job
 @param {string} jobName
 @param {object|undefined} customParams is optional
 @param {function} callback
Get information for the last completed build of a job @param { string } jobName @param { object|undefined } customParams is optional @param { function } callback