Details
-
Type:
Improvement
-
Status: Open (View Workflow)
-
Priority:
Trivial
-
Resolution: Unresolved
-
Component/s: pipeline-utility-steps-plugin
-
Labels:None
-
Similar Issues:
Description
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.
Yoav Miles it may be safe to add it, but it will unlikely get you the result you expect in Jenkins Pipeline. In Pipeline scripts will always return the master's system separator. Maybe it's better to propose a new step in Pipeline Utility steps