mirror of
https://github.com/lework/jenkins-update-center.git
synced 2024-11-21 10:05:55 +02:00
This commit is contained in:
parent
3ab1744f18
commit
9a30ad6b44
@ -107,7 +107,7 @@ def main():
|
|||||||
public_key = "rootCA/update-center.crt"
|
public_key = "rootCA/update-center.crt"
|
||||||
|
|
||||||
original_download_url = "https://updates.jenkins.io/download/"
|
original_download_url = "https://updates.jenkins.io/download/"
|
||||||
original_update_center_url = "https://mirrors.cloud.tencent.com/jenkins/updates/update-center.json"
|
original_update_center_url = "https://updates.jenkins-ci.org/current/update-center.json"
|
||||||
original_file = urllib.request.urlopen(original_update_center_url)
|
original_file = urllib.request.urlopen(original_update_center_url)
|
||||||
try:
|
try:
|
||||||
original_context = original_file.read()
|
original_context = original_file.read()
|
||||||
|
Loading…
Reference in New Issue
Block a user