def upload_with_checksum(repo, remote_path, checksum, properties = {})
      upload(repo, remote_path, properties,
        "X-Checksum-Deploy" => true,
        "X-Checksum-Sha1"   => checksum
      )
    end
def upload_with_checksum(repo, remote_path, checksum, properties = {})
      upload(repo, remote_path, properties,
        "X-Checksum-Deploy" => true,
        "X-Checksum-Sha1"   => checksum
      )
    end
Upload an artifact with the given SHA checksum. Consult the artifactory
 documentation for the possible responses when the checksums fail to
 match.

 @see Artifact#upload More syntax examples

 @example Upload an artifact with a checksum
   artifact = Artifact.new(local_path: '/local/path/to/file.deb')
   artifact.upload_with_checksum('libs-release-local', /remote/path', 'ABCD1234')

 @param (see Artifact#upload)
 @param [String] checksum
   the SHA1 checksum of the artifact to upload