calling grab_artifact or get_artifacts with short (i.e. not full) job name causes a ArtifactBroken exception in Artifact::save being raised inside self._verify_download even when the md5sum is matching.
EXPECTED RESULTS
Should not raise the exception
ACTUAL RESULTS
It raises an ArtifactBroken exception
USEFUL INFORMATION
In Artifacts::verify_download self.build.job.name (rather than self.build.job.get_full_name()) should be passed to validate_for_build at line 98-99 in artifact.py. validate_for_build will return False otherwise, as the expression usage_item["name"] will not match job at line 86 of fingerprint.py.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
ISSUE TYPE
Jenkinsapi VERSION
0.3.9
Jenkins VERSION
2.164.3
SUMMARY
calling grab_artifact or get_artifacts with short (i.e. not full) job name causes a ArtifactBroken exception in Artifact::save being raised inside self._verify_download even when the md5sum is matching.
EXPECTED RESULTS
Should not raise the exception
ACTUAL RESULTS
It raises an ArtifactBroken exception
USEFUL INFORMATION
In Artifacts::verify_download self.build.job.name (rather than self.build.job.get_full_name()) should be passed to validate_for_build at line 98-99 in artifact.py. validate_for_build will return False otherwise, as the expression usage_item["name"] will not match job at line 86 of fingerprint.py.