anchor.diff:  let mutable xmlOutputFile = getBuildParamOrDefault "logfile" @".\output\Results.xml"
   
   /// Build number retrieved from TeamCity
  -let tcBuildNumber = environVar "BUILD_NUMBER" 
  +let tcBuildNumber = environVar "BUILD_NUMBER"
  +
  +/// Build number retrieved from Jenkins
  +let jenkinsBuildNumber = tcBuildNumber
   
   /// CruiseControl.NET Build label
   let ccBuildLabel = environVar "CCNETLABEL"
  
positive.code: /// The BuildServer type.
  type BuildServer =
  | TeamCity
  | CCNet       
  | LocalBuild
  
  /// The trace Mode type.
  
negative.code: /// Determines the current BuildVersion and if it is a local build
  let buildVersion,buildServer =     
      let getVersion = getBuildParamOrDefault "buildVersion"
      if hasBuildParam "jenkins_home" then getVersion jenkinsBuildNumber,Jenkins else
      if not (isNullOrEmpty tcBuildNumber) then getVersion tcBuildNumber,TeamCity else
      if not (isNullOrEmpty ccBuildLabel) then getVersion ccBuildLabel,CCNet else 
      getVersion localBuildLabel,LocalBuild
  