Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-1169

Error logs not always printed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: 4 - Normal
    • Resolution: Done
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.2.2
    • Component/s: Common
    • Labels:
      None

      Description

      Use case:

      1. Run job in agent.
      2. Job fails with errors. We use logger.error(...) to write them. The error stream is written to the buffer (Without flush).
      3. Master get the job results and throws exception in order to fail the build.
      4. Results: Error logs not printed.

      Solution suggested: Flush error streams after write.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              yahavi Yahav Itzhak
              Reporter:
              yahavi Yahav Itzhak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: