History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-1383
Type: Improvement Improvement
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: AlSt
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

get step logs for a build via REST

Created: 20/Sep/12 09:01 AM   Updated: 20/Sep/12 09:01 AM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: PMEase QuickBuild, 4.0.59, 2012-09-06


 Description  « Hide
Improvement of the REST service:
* add the possibility to get the step logs for a build

e.g. {{http://localhost:8810/rest/builds/14/logs}} returns
{code}
<xml>
<Steps>
<Step>
  <name>root</name>
  <node>localhost</node>
  <log>
    <logEntry>
      <date>2012-09-02T18:01:34.000+02:00</date>
      <logLevel>INFO</logLevel>
      <message>...</message>
    </logEntry
    <logEntry>
[..]
    </logEntry>
  </log>
</Step>
</Steps>
{code}
XML structure loosely oriented on the BuildLogEntry class

* and the possibility to just get the log of one certain step:
e.g. {{http://localhost:8810/rest/builds/14/logs?stepPath=root}} returns
{code}
<Step>
  <name>root</name>
  <node>localhost</node>
  <log>
    <logEntry>
      <date>2012-09-02T18:01:34.000+02:00</date>
      <logLevel>INFO</logLevel>
      <message>...</message>
    </logEntry
    <logEntry>
[..]
    </logEntry>
  </log>
</Step>
{code}

 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.