Empty BufferedReader is returned if we use Java API of Timestamper plug-in without using appendLog param

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: timestamper-plugin
    • None

      Based on the given documentation, I have tried to use Timestamper Java API to access the build log including the plain timestamps.Ā 

      BufferedReader reader =Ā TimestamperAPI.get().read(currentBuild,"time=HH:mm:ss")

      But, I am receivingĀ an empty buffer.

      After checking the out timestamper plug-in code and debugging the code, I understood that we need to pass "appendLog" param also to get the proper BufferedReader. So the modified code I am using right now is something like below.

      BufferedReader reader =Ā TimestamperAPI.get().read(currentBuild,"time=HH:mm:ss&appendLog")

            Assignee:
            Steven G Brown
            Reporter:
            Dinesh Reddy
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: