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

getAffectedFiles() is not implemented

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • tfs-plugin
    • Jenkins 1.589 Windows

      We have one project hosted in visualstudio.com we also have a web hook to fire a build every time a code check-in happens. When this triggers a build, the build fails with the below error.

      When the build is triggered manually from Jenkins it succeeds.

      Webhook used: HTTP POST
      http://ec2-IP.us-west-2.compute.amazonaws.com:8080/job/ProjectDashboard_CI/build?token=XXXX

      C:\Program Files (x86)\Jenkins\tfs\ServiceConnector\Properties:
      Getting AssemblyInfo.cs
      [tfs] $ "C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE\TF.exe" history $/Project/ProjectDashboard -recursive -stopafter:1 -noprompt -version:D2014-11-13T03:33:11Z -format:brief ******** -server:https://user:pass@account.visualstudio.com/DefaultCollection
      Changeset User Date Comment
      --------- ----------------- ---------- ----------------------------------------
      407 Abe Diaz 11/12/2014 testing jenkins
      FATAL: getAffectedFiles() is not implemented by this SCM
      java.lang.UnsupportedOperationException: getAffectedFiles() is not implemented by this SCM
      at hudson.scm.ChangeLogSet$Entry.getAffectedFiles(ChangeLogSet.java:242)
      at jenkins.plugins.slack.ActiveNotifier.getChanges(ActiveNotifier.java:87)
      at jenkins.plugins.slack.ActiveNotifier.started(ActiveNotifier.java:38)
      at jenkins.plugins.slack.SlackNotifier$SlackJobProperty.prebuild(SlackNotifier.java:203)
      at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:804)
      at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:799)
      at hudson.model.AbstractBuild$AbstractBuildExecution.preBuild(AbstractBuild.java:795)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:530)
      at hudson.model.Run.execute(Run.java:1759)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:89)
      at hudson.model.Executor.run(Executor.java:240)

            dastahel David Staheli
            abe238 Abe Diaz
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: