Opened 11 years ago
Last modified 6 months ago
#10905 closed defect
Hudson 3.0.0 no longer supports /api/python interface — at Initial Version
Reported by: | Owned by: | roadrunner | |
---|---|---|---|
Priority: | normal | Component: | HudsonTracPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
The HudsonTracPlugin requires that hudson makes available the API for python on the URL /api/python at the moment, however now that Eclipse have taken on hudson, and version 3.0.0 has been released, the python API is no longer supported. Once hudson is upgraded to version 3.0.0 you get this error in the TRAC timeline:
Trac Error Hudson Builds event provider (HudsonTracPlugin) failed: IOError: Error getting build info from 'http://myserver:8080/job/jobname/api/python? tree=builds[building,timestamp,duration,result,description,url, fullDisplayName,changeSet[items[revision,id,user,author[fullName]]], culprits[fullName],actions[causes[userName]]]': HTTPError: HTTP Error 404: Not Found. This most likely means you configured a wrong job_url, username, or password.
See discussion here, that explains the python interface is no longer supported: http://www.eclipse.org/forums/index.php/t/457665/
Apparently though, the api is almost identical to the JSON interface anyway, so perhaps HudsonTracPlugin can be fairly easily modified to point to /api/json instead?
Note: See
TracTickets for help on using
tickets.