CloneWorkspaceSCM does not work in a pipeline job

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • None
    • Environment:
      Ubuntu 16.04, Jenkins 2.103

      My first attempts with pipeline failed trying to make the Clone Workspace Plugin work.

      I could not find any descriptive example how to do that, so it's mostly guessing.

      I tried

      checkout([$class: 'CloneWorkspaceSCM', parentJobName: 'Job name', criteria: 'Any'])

      which at least can be executed.

      But the build hangs forever in the checkout step.

      Am I doing it wrong or is it a bug? How to clone a workspace in a pipeline job?

            Assignee:
            Unassigned
            Reporter:
            Lars
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: