Skip to content

Commit 7cc7ade

Browse files
committed
fix(ci): replace gitParameter with string parameter
Recent upgrade of Jenkins and Git Paramter plugin caused these to appear: [2025-11-07T12:07:08.487Z] Scheduling project: status-desktop » e2e » prs Invalid parameter value: (StringParameterValue) GIT_REF='6e42ff2a5cb10933332d6722e1c19babc9973c07' Which are caused by recently patched vulnerability in the plugin: https://www.jenkins.io/security/advisory/2025-07-09/#SECURITY-3419 https://github.com/jenkinsci/git-parameter-plugin/releases/tag/444.vca_b_84d3703c2 We could disable this check with: gitParameterDefinition.allowAnyParameterValue=true But just using a String paramater is simpler and more convenient. Signed-off-by: Jakub Sokołowski <jakub@status.im>
1 parent b492185 commit 7cc7ade

File tree

2 files changed

+4
-18
lines changed

2 files changed

+4
-18
lines changed

ci/Jenkinsfile.tests-e2e

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,10 @@ pipeline {
1919
}
2020

2121
parameters {
22-
gitParameter(
22+
string(
2323
name: 'GIT_REF',
2424
description: 'Git branch to checkout.',
25-
branchFilter: 'origin/(.*)',
26-
branch: '',
27-
defaultValue: 'master',
28-
quickFilterEnabled: false,
29-
selectedValue: 'DEFAULT',
30-
sortMode: 'ASCENDING_SMART',
31-
tagFilter: '*',
32-
type: 'PT_BRANCH'
25+
defaultValue: 'master'
3326
)
3427
string(
3528
name: 'BUILD_SOURCE',

ci/Jenkinsfile.tests-e2e.windows

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,10 @@ pipeline {
88
}
99

1010
parameters {
11-
gitParameter(
11+
string(
1212
name: 'GIT_REF',
1313
description: 'Git branch to checkout.',
14-
branchFilter: 'origin/(.*)',
15-
branch: '',
16-
defaultValue: 'master',
17-
quickFilterEnabled: false,
18-
selectedValue: 'DEFAULT',
19-
sortMode: 'ASCENDING_SMART',
20-
tagFilter: '*',
21-
type: 'PT_BRANCH'
14+
defaultValue: 'master'
2215
)
2316
string(
2417
name: 'BUILD_SOURCE',

0 commit comments

Comments
 (0)