Opened 11 years ago

Last modified 6 months ago

#10905 closed defect

Hudson 3.0.0 no longer supports /api/python interface — at Version 1

Reported by: c.jones@… Owned by: roadrunner
Priority: normal Component: HudsonTracPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description (last modified by Ryan J Ollos)

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?

Change History (1)

comment:1 Changed 11 years ago by Ryan J Ollos

Description: modified (diff)
Note: See TracTickets for help on using tickets.