lib/utils.js
function crumbIssuer(jenkins, callback) {
  jenkins.crumbIssuer.get(function(err, data) {
    if (err) return callback(err);
    if (!data || !data.crumbRequestField || !data.crumb) {
      return callback(new Error('Failed to get crumb'));
    }

    callback(null, {
      headerName: data.crumbRequestField,
      headerValue: data.crumb,
    });
  });
}
function crumbIssuer(jenkins, callback) {
  jenkins.crumbIssuer.get(function(err, data) {
    if (err) return callback(err);
    if (!data || !data.crumbRequestField || !data.crumb) {
      return callback(new Error('Failed to get crumb'));
    }

    callback(null, {
      headerName: data.crumbRequestField,
      headerValue: data.crumb,
    });
  });
}
function crumbIssuer ( jenkins , callback ) { jenkins . crumbIssuer . get ( function ( err , data ) { if ( err ) return callback ( err ) ; if ( ! data || ! data . crumbRequestField || ! data . crumb ) { return callback ( new Error ( 'Failed to get crumb' ) ) ; } callback ( null , { headerName : data . crumbRequestField , headerValue : data . crumb , } ) ; } ) ; }
Default crumb issuser
Default crumb issuser