ISSUE TYPE
Bug Report
Jenkinsapi VERSION
Jenkins VERSION
SUMMARY
Jenkins API is returning
Experiencing an issue while attempting to use the get_changeset_items() method.
The relevant lines are here:
|
elif 'changeSets' in self._data: |
|
if 'items' in self._data['changeSets']: |
|
return self._data['changeSets']['items'] |
It appears that
self._data['changeSets'] is a list rather than a dict, so checking if 'items' is in it will not return true.
EXPECTED RESULTS
I'd expect that the method would return the changeset items for the build.
ACTUAL RESULTS
An empty list is returned.
USEFUL INFORMATION
Picture of type returned in the build._data:
