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

CLONE -Need to also give the -op option when fetching code from Harvest

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Critical Critical
    • harvest-plugin
    • None
    • Platform: All, OS: All

      Hi,
      I have followed the steps mentioned in http://wiki.hudson-
      ci.org/display/JENKINS/Harvest+Plugin. The build fails stating that "No such
      file or directory" for all the files that exist in Harvest. When I try to run
      the same command "hco ...." that was generated by the plugin from command
      prompt adding -op pc which basically Preserve and Create Directory structure,
      it works fine.
      Can you please guide me on how to add this option.

      Thanks
      Ravi.

          [JENKINS-8295] CLONE -Need to also give the -op option when fetching code from Harvest

          jacp99 added a comment -

          I'm having the same problem with the harvest plugin.

          I think the solution is to add a new parameter to enable the "Path Option" to the checkout process, it's common to pass "-op pc" (like Ravi says), that means "Preserve and create path structure" to create all the existing folders in harvest into the clientpath folder, regardless if the structure exists or not in the clientpath before the checkout execution.

          My platform is:
          OS: Windows Server
          Harvest version: r7.1 SP2
          Hudson version: 1.389
          Hudson Harvest SCM plugin version: 0.4

          jacp99 added a comment - I'm having the same problem with the harvest plugin. I think the solution is to add a new parameter to enable the "Path Option" to the checkout process, it's common to pass "-op pc" (like Ravi says), that means "Preserve and create path structure" to create all the existing folders in harvest into the clientpath folder, regardless if the structure exists or not in the clientpath before the checkout execution. My platform is: OS: Windows Server Harvest version: r7.1 SP2 Hudson version: 1.389 Hudson Harvest SCM plugin version: 0.4

          eder castro added a comment -

          Hello,
          I´m working with this plugin and I´m in same situation that jacp99, ¿did you found the solution?
          Thanks a lot,
          Eder

          eder castro added a comment - Hello, I´m working with this plugin and I´m in same situation that jacp99, ¿did you found the solution? Thanks a lot, Eder

          gliptak added a comment -

          I'm trying to upload Harvest sources into github.

          https://issues.jenkins-ci.org/browse/JENKINS-9533

          After that we can discuss making this change, as I would like to keep compatibility.

          Thanks

          gliptak added a comment - I'm trying to upload Harvest sources into github. https://issues.jenkins-ci.org/browse/JENKINS-9533 After that we can discuss making this change, as I would like to keep compatibility. Thanks

            Unassigned Unassigned
            jacp99 jacp99
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: