
Key: |
QB-4035
|
Type: |
Task
|
Status: |
Closed
|
Resolution: |
Won't Fix
|
Priority: |
Major
|
Assignee: |
Robin Shen
|
Reporter: |
rani dharne
|
Votes: |
0
|
Watchers: |
0
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 23/Oct/23 09:56 AM
Updated: 25/Dec/23 12:41 AM
|
|
Component/s: |
None
|
Affects Version/s: |
12.0.12
|
Fix Version/s: |
None
|
|
Original Estimate:
|
4 days
|
Remaining Estimate:
|
4 days
|
Time Spent:
|
Unknown
|
|
hi Robin,
we want to interact with build logs to fetch some data from logs.
could you please provide the API using which we can interact with logs and also the example we can use the API in groovy script.
|
Description
|
hi Robin,
we want to interact with build logs to fetch some data from logs.
could you please provide the API using which we can interact with logs and also the example we can use the API in groovy script. |
Show » |
|
groovy:
def logContent = build.renderLogAsText();
// do whatever with logContent
An appropriate place to run the groovy script would be on the post-build script in advanced setting of the configuration.