You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These two methods do not add the project name in the built URL so the requests fail to get information when builds are related to a specific project.
As a workaround, I added some code in the _get_info method:
def _get_info(self, build_name, build_number=""):
# If a build name contains slash "/" it must be encoded,
# otherwise the part after the slash will be treated as a build number
# maven-demo/1-build-snapshot => maven-demo%2F1-build-snapshot
url = requests.utils.quote(build_name, safe="")
if build_number:
url += f"/{build_number}"
if self.project:
url += f'?project={self.project}'
return self._get_build_api_response(url)
Artifactory server version: Enterprise Plus 7.63.12 rev 76312900
OS: Windows 10 Enterprise
The text was updated successfully, but these errors were encountered:
These two methods do not add the project name in the built URL so the requests fail to get information when builds are related to a specific project.
As a workaround, I added some code in the _get_info method:
Artifactory server version: Enterprise Plus 7.63.12 rev 76312900
OS: Windows 10 Enterprise
The text was updated successfully, but these errors were encountered: