lib/api/job.js
function create(name, config, cb) {
  var opts = {
    body: config,
    contentType: 'application/xml',
  };
  this.remoteAccessApi.postCreateItem(name, _.merge(opts, this.opts.headers), cb);
}
function create(name, config, cb) {
  var opts = {
    body: config,
    contentType: 'application/xml',
  };
  this.remoteAccessApi.postCreateItem(name, _.merge(opts, this.opts.headers), cb);
}
function create ( name , config , cb ) { var opts = { body : config , contentType : 'application/xml' , } ; this . remoteAccessApi . postCreateItem ( name , _ . merge ( opts , this . opts . headers ) , cb ) ; }
Create a job with specified configuration.

@param {String} name: Jenkins job name
@param {String} config: Jenkins job config.xml
@param {Function} cb: standard cb(err, result) callback
Create a job with specified configuration .