ci: add api proxy stage build parameter
This commit is contained in:
parent
2041b5044a
commit
11efcd8923
|
@ -42,6 +42,11 @@ pipeline {
|
||||||
description: 'Decides whether the mocked status-keycard-go library is built.',
|
description: 'Decides whether the mocked status-keycard-go library is built.',
|
||||||
defaultValue: false
|
defaultValue: false
|
||||||
)
|
)
|
||||||
|
string(
|
||||||
|
name: 'STATUS_BUILD_PROXY_STAGE_NAME',
|
||||||
|
description: 'Defines the stage used to choose the correct Proxy API URL',
|
||||||
|
defaultValue: utils.isReleaseBuild() ? 'prod' : 'test'
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
|
|
|
@ -34,6 +34,11 @@ pipeline {
|
||||||
description: 'Decides whether the mocked status-keycard-go library is built.',
|
description: 'Decides whether the mocked status-keycard-go library is built.',
|
||||||
defaultValue: false
|
defaultValue: false
|
||||||
)
|
)
|
||||||
|
string(
|
||||||
|
name: 'STATUS_BUILD_PROXY_STAGE_NAME',
|
||||||
|
description: 'Defines the stage used to choose the correct Proxy API URL',
|
||||||
|
defaultValue: utils.isReleaseBuild() ? 'prod' : 'test'
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
|
|
|
@ -41,6 +41,11 @@ pipeline {
|
||||||
description: 'Select app entitlements. Squish requires extra entitlements.',
|
description: 'Select app entitlements. Squish requires extra entitlements.',
|
||||||
choices: ['resources/Entitlements.plist', 'resources/Entitlements_squish.plist']
|
choices: ['resources/Entitlements.plist', 'resources/Entitlements_squish.plist']
|
||||||
)
|
)
|
||||||
|
string(
|
||||||
|
name: 'STATUS_BUILD_PROXY_STAGE_NAME',
|
||||||
|
description: 'Defines the stage used to choose the correct Proxy API URL',
|
||||||
|
defaultValue: utils.isReleaseBuild() ? 'prod' : 'test'
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
|
|
|
@ -33,6 +33,11 @@ pipeline {
|
||||||
description: 'Decides whether the mocked status-keycard-go library is built.',
|
description: 'Decides whether the mocked status-keycard-go library is built.',
|
||||||
defaultValue: false
|
defaultValue: false
|
||||||
)
|
)
|
||||||
|
string(
|
||||||
|
name: 'STATUS_BUILD_PROXY_STAGE_NAME',
|
||||||
|
description: 'Defines the stage used to choose the correct Proxy API URL',
|
||||||
|
defaultValue: utils.isReleaseBuild() ? 'prod' : 'test'
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
options {
|
options {
|
||||||
|
|
Loading…
Reference in New Issue