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

p4 plugin cleanup behavior wrong with AutoCleanImpl and linked directory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • p4-plugin
    • None
    • ubuntu 16.04 master(OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-0ubuntu4~16.04.1-b14)), Win-7 slaves(Java(TM) SE Runtime Environment (build 1.8.0_91-b15)), Jenkins ver. 2.7, p4-plugin 1.4.0, pipeline plugin 2.1,

      I found strange behavior in jenkins p4 plugin when try cleanup workspace at sync. We use windows build machine with junction/link to external folders. When i run windows cli p4 with 'p4 -c [ws_name] clean', perforce cli remove only links/junctions from workspace controlled folders, original external files remain unchanged. But use jenkins plugin via Pipeline DSL p4sync with cleanup ( 'AutoCleanImpl') - all external files deleted from external folders (((

            p4paul Paul Allen
            t_rex Oleksii Trekhov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: