We can't use System.lineSeparator() reliably as it returns the master node's line separator. Adding a lineSeparator() step is useful for writing files on various agents.

          [JENKINS-55089] Add a lineSeparator step

          Yoav Miles created issue -
          Yoav Miles made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]
          Yoav Miles made changes -
          Component/s New: pipeline-utility-steps-plugin [ 21135 ]
          Component/s Original: script-security-plugin [ 18520 ]
          Yoav Miles made changes -
          Summary Original: Scripts not permitted to use staticMethod java.lang.System lineSeparator New: Add a lineSeparator step
          Yoav Miles made changes -
          Description Original: Please include System.lineSeparator() in the default signature whitelist, thanks :) New: We can't use System.lineSeparator() reliably as it returns the master node's line separator

          Please include System.lineSeparator() in the default signature whitelist, thanks :)
          Yoav Miles made changes -
          Assignee Original: Andrew Bayer [ abayer ] New: rsandell [ rsandell ]
          Yoav Miles made changes -
          Description Original: We can't use System.lineSeparator() reliably as it returns the master node's line separator

          Please include System.lineSeparator() in the default signature whitelist, thanks :)
          New: We can't use System.lineSeparator() reliably as it returns the master node's line separator. Adding a lineSeparator() step is useful for writing files on various agents.

            rsandell rsandell
            towel Yoav Miles
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: