Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28082

Job doesn't fail if tfs.exe get fails (exit code 1)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: Major Major
    • tfs-plugin
    • Jenkins: 1.6.10
      tfs-plugin: 3.1.1

      An get on tfs fails, due to the fact that the file in the workspace was edited:

      Job output:
      [workspace] $ "C:/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/IDE/tf.exe" get "C:/Workspaces/Jenkins/TfsJob" -recursive -version:D2015-04-24T09:03:09Z -noprompt ********
      C:\Workspaces\Jenkins\TfsJob\Scripts:
      Conflict PrepareAndCopyImportFiles.ps1 - Unable to perform the get operation because you have a conflicting edit
      [workspace] $ "C:/Program Files (x86)/Microsoft Visual Studio 12.0/Common7/IDE/tf.exe" history $/MPS/Jenkins.userContent -recursive -stopafter:1 -noprompt -version:D2015-04-24T09:03:10Z -format:brief ******** -server:http://tfs.oce.net/tfs/Oce
      Changeset User Date Comment
      --------- ----------------- ---------- ----------------------------------------
      17045 Saris, Jan 24-4-2015 Refactored PrepareAndCopyImportfiles for
      Finished: SUCCESS

      Finished: Should be failed instead of success
      When I run the command by hand I get exit code: 1

            redsolo redsolo
            sarske Jan Saris
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: