code: function (folderName, customParams, callback) {
        [folderName, customParams, callback] = doArgs(arguments, ['string', ['object', {}], 'function']);
  
        const mode = 'com.cloudbees.hudson.plugins.folder.Folder';
  
        customParams.name = folderName;
        customParams.mode = mode;
        customParams.Submit = 'OK';
  
        doRequest({
          method: 'POST',
          urlPattern: [NEWFOLDER]
        }, customParams, callback);
      }
docs: Create a new folder with given name
  
  Requires Folder plugin in Jenkins:
  @see https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Folders+Plugin
  @see https://gist.github.com/stuart-warren/7786892
  
  @param {string} folderName
  @param {object|undefined} customParams is optional
  @param {function} callback