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

Execute permission not set on files which have +x in perforce depot

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • p4-plugin
    • None
    • Jenkins ver. 1.609.3
      P4 plugin 1.3.1
      OS: RHEL 6.4
      Java: 1.8.0_60

      I'm seeing that p4-plugin does not set +x permission on some synced files when they do have the +x attribute in the depot. Earlier we were using the legacy "Perforce plugin" and did not see this issue. This seems to resemble the bug JENKINS-28220

      if I do a "p4 sync -f <filename>" manually in the same workspace then this rectifies the issue, but whenever the p4-plugin in jenkins updates the file it removes the execute permission.

      We are using the "Template" workspace behavior and "Sync only" populate option and I noticed that p4-plugin often leaves the "Root:" field in the client as "null"

            tpeths Thushara Pethiyagoda
            barnish Andrew Barnish
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: