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

Enable *correct* writing to the job's log from a post build script

XMLWordPrintable

      I'm able to write to the build's log with:

      manager.build.logFile.withWriter{log ->
      log.println "Hello Log."
      }

      However, features, such as log timestamping don't work. I'm assumming, the script's output won't be subjected to warning parsing either (did not check).

      There should be some way to access the logging facilities that exist during the build proper.

            wolfs Stefan Wolf
            timor_raiman Timor Raiman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: