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

Hockeyapp plugin can't publish from remote slaves

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      It seems as though hockeyapp plugin v 1.06 is completely broken on remote slaves.

      Uploading to HockeyApp...
      /scratch/jenkins/workspace/myjob does not exist.
      at org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(AbstractFileSet.java:483)
      at org.apache.tools.ant.types.FileSet.iterator(FileSet.java:69)
      at hockeyapp.HockeyappRecorder.perform(HockeyappRecorder.java:138)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:795)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:767)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:716)
      at hudson.model.Run.execute(Run.java:1690)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:246)
      Build step 'Upload to HockeyApp' marked build as failure

      It looks like this bug was introduced in [1b21917b57](https://github.com/jenkinsci/hockeyapp-plugin/commit/1b21917b57059b5184bb3e538c8b3528cd820b94).

      The fix is to use something like hudson.FilePath#copyRecursiveTo() to properly copy the file over the remoting channel.

        Attachments

          Activity

          recampbell Ryan Campbell created issue -
          recampbell Ryan Campbell made changes -
          Field Original Value New Value
          Priority Blocker [ 1 ] Critical [ 2 ]
          recampbell Ryan Campbell made changes -
          Assignee lacostej [ lacostej ]
          ohoeltke Oliver H made changes -
          Assignee lacostej [ lacostej ] Oliver H [ ohoeltke ]
          scm_issue_link SCM/JIRA link daemon made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 154990 ] JNJira + In-Review [ 195103 ]
          brantone Brantone made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            Assignee:
            ohoeltke Oliver H
            Reporter:
            recampbell Ryan Campbell
            Votes:
            2 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: