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

p4Sync needs manual action to do sync

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • p4-plugin
    • None

      When I use p4sync in pipeline or freestyle project the ideal way I would expect it to work is the following:

      • Create Workspace
      • Copy all depot-view mapped files to workspace

      And this should be automatic, right or am I taking something for granted?

      What does not work is that it automatically does it.

      I approved that sycing works by deleting some files and running the job again but I can't get it to automatically copy all files into the workspace by just running the job when the workspace is empty.

      The logs are from an immediate run after setting up the job as shown in job.png.

      Workspace stays empty, checking in P4 Helix Core GUI shows that workspace is created and mapping took place. I would have manually get the latest revision and then syncing seems to do what I want it to do.

      Can someone tell me if this is intended or a bug? Maybe I am doing something work in regards to settings my wanted szenario up?

        1. enabledPSync.PNG
          enabledPSync.PNG
          10 kB
        2. job1.png
          job1.png
          21 kB
        3. job1-1.png
          job1-1.png
          22 kB
        4. job2.png
          job2.png
          17 kB
        5. job2-1.png
          job2-1.png
          9 kB
        6. log_1.png
          log_1.png
          20 kB
        7. log_2.png
          log_2.png
          17 kB
        8. p4gui.png
          p4gui.png
          13 kB

            joel_brown Joel Brown
            _dentist Kürsat Kukul
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: