Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checksum deploy better check for Artifactory #4100

Merged
merged 1 commit into from Dec 11, 2018
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.

Always

Just for now

@@ -25,7 +25,7 @@ def upload(self, url, abs_path, auth=None, dedup=False, retry=1, retry_wait=0, h
dedup_headers.update(headers)
response = self.requester.put(url, data="", verify=self.verify, headers=dedup_headers,
auth=auth)
if response.status_code != 404:
if response.status_code == 201: # Artifactory returns 201 if the file is there
return response

headers = headers or {}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.