AttributeError builds
Getting the below error while trying to remove build artifacts on GitLab v 9.3.2 (local install). This is API v4 - wondering whether the API version is causing the below error.
Traceback (most recent call last):
File "./gitlab-artifact-cleanup", line 214, in <module>
main()
File "./gitlab-artifact-cleanup", line 206, in main
cleanup.cleanup_project(proj)
File "./gitlab-artifact-cleanup", line 45, in cleanup_project
for build in proj.builds.list(all=True):
File "/usr/lib/python2.7/site-packages/gitlab/base.py", line 434, in __getattr__
raise AttributeError(name)
AttributeError: builds