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

TFS plugin does not fail on error retrieving file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • tfs-plugin
    • Jenkins ver. 1.580.1
      RHE 2.6.32-358.el6.x86_64
      TFS 2012 RTM
      TEE CLC 12.0.0

      Source Code Mangement option from Team Foundation Server:
      Logs report:
      ---- Summary: 0 conflicts, 0 warnings, 1 errors ----
      Local path /build/workspace/BillPay/TEST_jenkins_wps_build_tfserr/wps-ws/paymentdeviceadminsvc-1-1-war-deploy/paymentdeviceadminsvc-1-1-service/src/main/java/com/telus/wsdl/eo/financialmgmt/paymentdeviceadminservice_1/PaymentDeviceAdminService_v1_1_PaymentDeviceAdminServicePortImpl.java is too long. The item will not be retrieved

      From the command line:
      [/build/workspace/BillPay/TEST_jenkins_wps_build_tfserr]
      [bldadm]$ 'tf get . -recursive -version: D2015-01-16T23:07:14Z -noprompt'
      Local path /build/workspace/BillPay/TEST_jenkins_wps_build_tfserr/wps-ws/paymentdeviceadminsvc-1-1-war-deploy/paymentdeviceadminsvc-1-1-service/src/main/java/com/corp/wsdl/eo/financialmgmt/paymentdeviceadminservice_1/PaymentDeviceAdminService_v1_1_PaymentDeviceAdminServicePortImpl.java is too long. The item will not be retrieved
      [/build/workspace/BillPay/TEST_jenkins_wps_build_tfserr]
      [bldadm]$ echo $?
      1

      Plugin is not raising the exception and causing the build to fail. The actual TFS file path ( $/ ... .java ) is 240 chars

            redsolo redsolo
            ianw Ian Williams
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: