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

Content Replace Plugin Eats Trailing Newlines

XMLWordPrintable

      Content Replace may eat a trailing newline on files, probably due to ContentReplaceBuilder.java#L147, where each line of the file is joined back together before writing to the filesystem-or where it was originally split on line 113, take your pick.

      Trailing newlines are required for example with patch files which may otherwise be considered corrupt-there are relatively simple workarounds, but then why bother with an equally simple plugin?

            moxun mo xun
            safelogic_lucas Lucas
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: