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

Unable to set line ending format for stream workspace

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • p4-plugin
    • plugin version: 1.0.7

      It's not possible to set the line ending format for stream workspaces.

      In our current situation this we must have all line endings set to Unix for some file and platform combinations.

          [JENKINS-24025] Unable to set line ending format for stream workspace

          Paul Allen added a comment -

          I can add this to the 'Stream' option for generating streams workspaces.

          Are you able to use the 'Manual', 'Spec', or 'Static' workspace options? I guess that they are not as easy for matrix builds as you would have to set them up individually.

          Paul Allen added a comment - I can add this to the 'Stream' option for generating streams workspaces. Are you able to use the 'Manual', 'Spec', or 'Static' workspace options? I guess that they are not as easy for matrix builds as you would have to set them up individually.

          Grant Limberg added a comment -

          I could use one of the other options, but it's nowhere near as convenient as the Stream option on matrix builds.

          My temporary workaround is to just update the workspaces manually once Jenkins creates them, but that will need to be done each time a new build node comes online, or any time a new project in Jenkins is created. A bit of a PITA. I'd appreciate having the option

          Grant Limberg added a comment - I could use one of the other options, but it's nowhere near as convenient as the Stream option on matrix builds. My temporary workaround is to just update the workspaces manually once Jenkins creates them, but that will need to be done each time a new build node comes online, or any time a new project in Jenkins is created. A bit of a PITA. I'd appreciate having the option

          Rami Alia added a comment -

          On 1.3.0 you cannot set line endings at all in manual. I've had to resort to static workspaces for some environments. Specifically am unable to set unix line endings on windows jenkins.

          Rami Alia added a comment - On 1.3.0 you cannot set line endings at all in manual. I've had to resort to static workspaces for some environments. Specifically am unable to set unix line endings on windows jenkins.

          Code changed in jenkins
          User: Paul Allen
          Path:
          src/main/java/org/jenkinsci/plugins/p4/workspace/ManualWorkspaceImpl.java
          http://jenkins-ci.org/commit/p4-plugin/ef7570582ad0bcbdc3545e73ac06b352f948f93e
          Log:
          Missing if statement in parseLineEnd.

          JENKINS-24025

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Paul Allen Path: src/main/java/org/jenkinsci/plugins/p4/workspace/ManualWorkspaceImpl.java http://jenkins-ci.org/commit/p4-plugin/ef7570582ad0bcbdc3545e73ac06b352f948f93e Log: Missing if statement in parseLineEnd. JENKINS-24025

          Paul Allen added a comment -

          Fixed 1.3.1

          Paul Allen added a comment - Fixed 1.3.1

            p4paul Paul Allen
            glimberg Grant Limberg
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: