1
0
mirror of https://github.com/lework/jenkins-update-center.git synced 2024-11-21 10:05:55 +02:00
Lework 2023-05-30 17:28:20 +08:00 committed by GitHub
parent 3ab1744f18
commit 9a30ad6b44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()