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

Plugin does not work on Master / Slave Setup

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • last-changes-plugin
    • None
    • Jenkins ver. 1.656
      last-changes 1.0.1

      This plugin does not work with Master / Slave Setup.... Only works with builds on master. If I run this with Master / Slave, I get the following error:ERROR: Build step failed with exception
      java.lang.RuntimeException: No git or svn repository found at /var/lib/jenkins/workspace/Test/TestLastChangesPlugin
      at com.github.jenkins.lastchanges.LastChangesPublisher.perform(LastChangesPublisher.java:109)
      at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:782)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
      at hudson.model.Build$BuildExecution.post2(Build.java:185)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:668)
      at hudson.model.Run.execute(Run.java:1763)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)
      Build step 'Publish Last Changes' marked build as failure

      It's clearly trying to look for that workspace on master and not the slave.

            rmpestano Rafael Pestano
            emoshaya_cognitoiq Ebrahim Moshaya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: