Add develocityAllowUntrustedServer as ShortLivedTokenClient constructor argument

This commit is contained in:
Eric Haag committed 2025-03-12 14:13:49 -05:00
1 parent 2ee6cdf283
commit 34dcae18f8
3 files changed
+35 -16

No files matched your search

+5 -1
View File
@@ -28,7 +28,11 @@ export async function setup(config: BuildScanConfig): Promise<void> {
maybeExportVariable('DEVELOCITY_TERMS_OF_USE_AGREE', config.getBuildScanTermsOfUseAgree())
}
return setupToken(config.getDevelocityAccessKey(), config.getDevelocityTokenExpiry())
return setupToken(
config.getDevelocityAccessKey(),
config.getDevelocityTokenExpiry(),
config.getDevelocityAllowUntrustedServer()
)
}
function maybeExportVariable(variableName: string, value: unknown): void {