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

writeFile : Add the possibility to add content

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • Jenkins 2.319.3
      Basic Steps 2.24

      Currently when calling writeFile on an existing file, the content to write overwrites the existing content.
      A boolean parameter (append ?) could be used to tell writeFile to add rather than erase. E.g.

      writeFile(
           file:myLog.txt,
           text:'An additional information',
           append: true
      )

       

       

            Unassigned Unassigned
            jielpe_fr38 Jean-Luc Pé
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: