diff --git a/ci/Jenkinsfile.combined b/ci/Jenkinsfile.combined index 619a5a8bed..6bb13b1ab6 100644 --- a/ci/Jenkinsfile.combined +++ b/ci/Jenkinsfile.combined @@ -1,5 +1,5 @@ #!/usr/bin/env groovy -library 'status-jenkins-lib@v1.9.5' +library 'status-jenkins-lib@v1.9.6' /* Object to store public URLs for description. */ urls = [:] diff --git a/ci/Jenkinsfile.linux b/ci/Jenkinsfile.linux index 617c02e5af..e956d0d239 100644 --- a/ci/Jenkinsfile.linux +++ b/ci/Jenkinsfile.linux @@ -1,5 +1,5 @@ #!/usr/bin/env groovy -library 'status-jenkins-lib@v1.9.5' +library 'status-jenkins-lib@v1.9.6' /* Options section can't access functions in objects. */ def isPRBuild = utils.isPRBuild() @@ -42,6 +42,11 @@ pipeline { description: 'Decides whether the mocked status-keycard-go library is built.', 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 { diff --git a/ci/Jenkinsfile.linux-nix b/ci/Jenkinsfile.linux-nix index a1389d51f8..a3975024a7 100644 --- a/ci/Jenkinsfile.linux-nix +++ b/ci/Jenkinsfile.linux-nix @@ -1,5 +1,5 @@ #!/usr/bin/env groovy -library 'status-jenkins-lib@v1.9.5' +library 'status-jenkins-lib@v1.9.6' /* Options section can't access functions in objects. */ def isPRBuild = utils.isPRBuild() @@ -34,6 +34,11 @@ pipeline { description: 'Decides whether the mocked status-keycard-go library is built.', 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 { diff --git a/ci/Jenkinsfile.macos b/ci/Jenkinsfile.macos index 277c930bed..3034ec1901 100644 --- a/ci/Jenkinsfile.macos +++ b/ci/Jenkinsfile.macos @@ -1,5 +1,5 @@ #!/usr/bin/env groovy -library 'status-jenkins-lib@v1.9.5' +library 'status-jenkins-lib@v1.9.6' /* Options section can't access functions in objects. */ def isPRBuild = utils.isPRBuild() @@ -41,6 +41,11 @@ pipeline { description: 'Select app entitlements. Squish requires extra entitlements.', 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 { diff --git a/ci/Jenkinsfile.tests-e2e b/ci/Jenkinsfile.tests-e2e index d56d731275..87e7baa368 100644 --- a/ci/Jenkinsfile.tests-e2e +++ b/ci/Jenkinsfile.tests-e2e @@ -1,5 +1,5 @@ #!/usr/bin/env groovy -library 'status-jenkins-lib@v1.9.5' +library 'status-jenkins-lib@v1.9.6' pipeline { diff --git a/ci/Jenkinsfile.tests-nim b/ci/Jenkinsfile.tests-nim index fb85f0c0f2..c61982b9d9 100644 --- a/ci/Jenkinsfile.tests-nim +++ b/ci/Jenkinsfile.tests-nim @@ -1,5 +1,5 @@ #!/usr/bin/env groovy -library 'status-jenkins-lib@v1.9.5' +library 'status-jenkins-lib@v1.9.6' /* Options section can't access functions in objects. */ def isPRBuild = utils.isPRBuild() diff --git a/ci/Jenkinsfile.tests-ui b/ci/Jenkinsfile.tests-ui index 05a70ae252..758e570816 100644 --- a/ci/Jenkinsfile.tests-ui +++ b/ci/Jenkinsfile.tests-ui @@ -1,5 +1,5 @@ #!/usr/bin/env groovy -library 'status-jenkins-lib@v1.9.5' +library 'status-jenkins-lib@v1.9.6' /* Options section can't access functions in objects. */ def isPRBuild = utils.isPRBuild() diff --git a/ci/Jenkinsfile.windows b/ci/Jenkinsfile.windows index 84a99dc825..2757cbdb29 100644 --- a/ci/Jenkinsfile.windows +++ b/ci/Jenkinsfile.windows @@ -1,5 +1,5 @@ #!/usr/bin/env groovy -library 'status-jenkins-lib@v1.9.5' +library 'status-jenkins-lib@v1.9.6' /* Options section can't access functions in objects. */ def isPRBuild = utils.isPRBuild() @@ -33,6 +33,11 @@ pipeline { description: 'Decides whether the mocked status-keycard-go library is built.', 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 { diff --git a/ci/cpp/Jenkinsfile.linux b/ci/cpp/Jenkinsfile.linux index 3ed3d78193..2c28e9bda8 100644 --- a/ci/cpp/Jenkinsfile.linux +++ b/ci/cpp/Jenkinsfile.linux @@ -1,5 +1,5 @@ #!/usr/bin/env groovy -library 'status-jenkins-lib@v1.9.5' +library 'status-jenkins-lib@v1.9.6' /* Options section can't access functions in objects. */ def isPRBuild = utils.isPRBuild() diff --git a/ci/cpp/Jenkinsfile.macos b/ci/cpp/Jenkinsfile.macos index 0e9fe56d0a..a14f3ac9d8 100644 --- a/ci/cpp/Jenkinsfile.macos +++ b/ci/cpp/Jenkinsfile.macos @@ -1,5 +1,5 @@ #!/usr/bin/env groovy -library 'status-jenkins-lib@v1.9.5' +library 'status-jenkins-lib@v1.9.6' /* Options section can't access functions in objects. */ def isPRBuild = utils.isPRBuild() diff --git a/ci/cpp/Jenkinsfile.windows b/ci/cpp/Jenkinsfile.windows index 43f43c26dc..a9d38bd729 100644 --- a/ci/cpp/Jenkinsfile.windows +++ b/ci/cpp/Jenkinsfile.windows @@ -1,5 +1,5 @@ #!/usr/bin/env groovy -library 'status-jenkins-lib@v1.9.5' +library 'status-jenkins-lib@v1.9.6' /* Options section can't access functions in objects. */ def isPRBuild = utils.isPRBuild()