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

TFS Plugin 4.0.0 returning null for remote changesets

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • tfs-plugin
    • None
    • TFS-Plugin 4.0.0, Team Foundation Server 2013, Jenkins 1.6.38, JRE 1.8, Mac OSX 10.11.3

      TFS Plugin 4.0.0 gives and error while querying for the changeset. I get the same error for all projects built from this machine. Verified that TFS SDK for Java is installed with the plugin and also TEE CLC, though its marked as not required for the 4.0 version. The project is developed in XCode and stored in TFS using the git-tf plugin for Mac OSX.

      created by Team Build                                                                                     
      Querying for remote changeset at '$/xxxxx/_git/xxxx' as of 'D2016-03-02T18:51:31Z'...
      Query returned no result!
      FATAL: null
      java.lang.NullPointerException
      	at hudson.plugins.tfs.model.Project.extractChangesetNumber(Project.java:194)
      	at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:189)
      	at hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:205)
      	at hudson.plugins.tfs.TeamFoundationServerScm.recordWorkspaceChangesetVersion(TeamFoundationServerScm.java:262)
      	at hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:211)
      	at hudson.model.AbstractProject.checkout(AbstractProject.java:1276)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:607)
      	at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
      	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:529)
      	at hudson.model.Run.execute(Run.java:1738)
      	at hudson.matrix.MatrixBuild.run(MatrixBuild.java:306)
      	at hudson.model.ResourceController.execute(ResourceController.java:98)
      	at hudson.model.Executor.run(Executor.java:410)
      Finished: FAILURE
      

            dastahel David Staheli
            mahithach Mahitha Chalasani
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: