     unless tfsBranch.length is 0  #A branch was provided
       body.sourceBranch = tfsBranch
 
-    robot.logger.debug body
-
     doRespondWithPost(res, tfsBuildQueueAPICall, buildQueueTableDefinition, body)
 
 

        tableResult = asciiTable.buildTable(tableDefinition, result)
        res.reply tableResult


  ##########################################################
  #                       COMMAND
  # hubot tfs build list SpidersFromMars
  # hubot tfs build list SpidersFromMars from MyCollection
  ##########################################################
  robot.respond /tfs build list (\S*)(?: from )?(\S*)/, (res) ->
    doRespondWithGet(res, tfsBuildListAPICall, buildListTableDefinition)

  robot.respond /tfs build definitions (\S*)(?: from )?(\S*)/, (res) ->
    doRespondWithGet(res, tfsBuildDefinitionsAPICall, buildDefinitionsTableDefinition)

  robot.respond /tfs build queue (\S*)(?: from )?(\S*) with def=(\S*)(?: branch=)?(\S*)/, (res) ->
    tfsDefinition = parseInt(res.match[3], 10)
    tfsBranch = res.match[4]



module.exports = (robot) ->
  commandArray = [
    'tfs build list <project>'
    'tfs build list <project> from <collection>'
    'tfs build queue <project> with def=<definition id>'
    'tfs build queue <project> from <collection> with def=<definition id> branch=<branch name>'
    'tfs build definitions <project>'
    'tfs build definitions <project> from <collection>'
  ]


  # Initialize environment variables
  tfsServer = process.env.HUBOT_TFS_SERVER
  tfsUsername = process.env.HUBOT_TFS_USERNAME
