|
|
@ -231,6 +231,6 @@ class ArtifactDeploymentApi:
|
|
|
|
+ '-H "Content-Type: multipart/form-data" '
|
|
|
|
+ '-H "Content-Type: multipart/form-data" '
|
|
|
|
+ f'-F "attachment=@{attachment};type={attachment_type}"')
|
|
|
|
+ f'-F "attachment=@{attachment};type={attachment_type}"')
|
|
|
|
|
|
|
|
|
|
|
|
def calculate_checksums(self, build_path: str):
|
|
|
|
def calculate_checksums(self, artifact_path: str):
|
|
|
|
self.execution_api.execute(f"find {build_path} -type f -exec sha256sum {{}}; | sort > {build_path} sha256sum.lst")
|
|
|
|
self.execution_api.execute(f"find {build_path} -type f -exec sha256sum {{}}; | sort > {build_path} sha256sum.lst")
|
|
|
|
self.execution_api.execute(f"find {build_path} -type f -exec sha512sum {{}}; | sort > {build_path} sha512sum.lst")
|
|
|
|
self.execution_api.execute(f"find {build_path} -type f -exec sha512sum {{}}; | sort > {build_path} sha512sum.lst")
|
|
|
|