chore(ci): add option to select timestamp server

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-08-27 16:34:42 +02:00
parent c2b404f410
commit 2cf9cd61ce
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 13 additions and 2 deletions

View File

@ -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 {