From 2cf9cd61ce517eb3d235a600c418aa745f58636a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Tue, 27 Aug 2024 16:34:42 +0200 Subject: [PATCH] chore(ci): add option to select timestamp server MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ci/Jenkinsfile.windows | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/ci/Jenkinsfile.windows b/ci/Jenkinsfile.windows index 4724609692..9350f9724a 100644 --- a/ci/Jenkinsfile.windows +++ b/ci/Jenkinsfile.windows @@ -33,6 +33,17 @@ pipeline { description: 'Decides whether the mocked status-keycard-go library is built.', defaultValue: false ) + choice( + name: 'WINDOWS_CODESIGN_TIMESTAMP_URL', + description: 'Time Stamp Authority (TSA) server for signing binaries.', + choices: [ + 'http://timestamp.digicert.com', + 'http://timestamp.sectigo.com', + 'http://timestamp.apple.com/ts01', + 'http://time.certum.pl', + 'https://freetsa.org', + ] + ) } options { @@ -66,9 +77,9 @@ pipeline { STATUS_CLIENT_EXE = "pkg/${utils.pkgFilename(ext: 'exe', arch: getArch())}" /* 7zip archive filename */ STATUS_CLIENT_7Z = "pkg/${utils.pkgFilename(ext: '7z', arch: getArch())}" - /* RFC 3161 timestamping URL for DigiCert */ - WINDOWS_CODESIGN_TIMESTAMP_URL = 'http://timestamp.digicert.com' STATUS_BUILD_PROXY_STAGE_NAME = "${utils.isReleaseBuild() ? 'prod' : 'test'}" + /* Hack-fix for params not being set in env on first job run. */ + WINDOWS_CODESIGN_TIMESTAMP_URL = "${params.WINDOWS_CODESIGN_TIMESTAMP_URL}" } stages {