diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2017-05-29 20:48:37 -0500 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2017-05-29 21:48:37 -0400 |
commit | 66e6695f73a5e77da2d1c62ede4d05d36a0eb7b7 (patch) | |
tree | a7acf5f4251aed2606978c7a9103e03c50be13cb /release.py | |
parent | 5a284e6ded3213abe7167d8e3c813a77b4134453 (diff) | |
download | cryptography-66e6695f73a5e77da2d1c62ede4d05d36a0eb7b7.tar.gz cryptography-66e6695f73a5e77da2d1c62ede4d05d36a0eb7b7.tar.bz2 cryptography-66e6695f73a5e77da2d1c62ede4d05d36a0eb7b7.zip |
update to new CI server for wheels + switch to using a job token (#3638)
* update to new CI server for wheels + switch to using a job token
* avoid slash folding
Diffstat (limited to 'release.py')
-rw-r--r-- | release.py | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -17,7 +17,10 @@ from clint.textui.progress import Bar as ProgressBar import requests -JENKINS_URL = "https://jenkins.cryptography.io/job/cryptography-wheel-builder" +JENKINS_URL = ( + "https://ci.cryptography.io/job/cryptography-support-jobs/" + "job/wheel-builder" +) def run(*args, **kwargs): @@ -128,14 +131,11 @@ def release(version): ) response.raise_for_status() - username = getpass.getpass("Input the GitHub/Jenkins username: ") token = getpass.getpass("Input the Jenkins token: ") - response = session.post( + response = session.get( "{0}/build".format(JENKINS_URL), - auth=requests.auth.HTTPBasicAuth( - username, token - ), params={ + "token": token, "cause": "Building wheels for {0}".format(version) } ) |