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

Publish always publishing unchanged utf8+w files on Windows slaves.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: p4-plugin
    • Labels:
    • Environment:
      P4-Jenkins 1.8.4
      P4D -C1 P4D/LINUX26X86_64/2017.2/1611521
    • Similar Issues:

      Description

      Reproduction steps:

      (1) Add utf8+w file with BOM on Linux -C1 server.

      (2) Setup master Jenkins server on Linux (may not be relevant)

      (3) Set up build slave on WIndows 10.

      (4) Setup a Freestyle job (for ease; also happens on pipeline) that syncs a workspace containing the utf8+w file and publishes any changed files that is pinned to run on Windows 10 slave.

      (5) Run the job. Reconcile will always detect the utf8+w  file as a file to publish. For example:

      ... p4 opened -Cjenkins-Windows10-Freestyle_c1-0 //jenkins-Windows10-Freestyle_c1-0/...
       +
      ... ... edit //depot/project1/test.ps1
      ... submitting files
      

      (6) At the command line 'p4 reconcile -a -e -f' does not detect files as changed. For example:

      C:\Users\karl\AppData\Local\Temp\workspace\Freestyle_c1>p4 -p C1_server:1667 -u super -c jenkins-Windows10-Freestyle_c1-0 reconcile -e -a -f //jenkins-Windows10-Freestyle_c1-0/...
      //jenkins-Windows10-Freestyle_c1-0/... - no file(s) to reconcile.
      

      Therefore suspect this is a P4Java bug.

       

        Attachments

          Activity

          Hide
          p4paul Paul Allen added a comment -

          P4JAVA-1156 Fixed in P4Java

          Show
          p4paul Paul Allen added a comment - P4JAVA-1156  Fixed in P4Java
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Paul Allen
          Path:
          pom.xml
          http://jenkins-ci.org/commit/p4-plugin/895a2ea188adcfc5064e13fc544acac5a00dd9a0
          Log:
          Update P4Java 2018.1.1638495

          Digest calculation for UTF8 files. JENKINS-49955

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Paul Allen Path: pom.xml http://jenkins-ci.org/commit/p4-plugin/895a2ea188adcfc5064e13fc544acac5a00dd9a0 Log: Update P4Java 2018.1.1638495 Digest calculation for UTF8 files. JENKINS-49955
          Hide
          p4paul Paul Allen added a comment -

          Ready for release.

          Show
          p4paul Paul Allen added a comment - Ready for release.
          Hide
          p4paul Paul Allen added a comment -

          Released in 1.8.8

          Show
          p4paul Paul Allen added a comment - Released in 1.8.8

            People

            Assignee:
            p4paul Paul Allen
            Reporter:
            p4karl Karl Wirth
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: