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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: