Skip to content

Commit 478cacb

Browse files
Resolve issues where UPDATE_GITHUB_ISSUE is not supported in check-for-build (#5350)
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
1 parent c8b2f8f commit 478cacb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

jenkins/check-for-build.jenkinsfile

+7-1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,11 @@ pipeline {
6767
description: 'Distribution to test',
6868
trim: true
6969
)
70+
booleanParam(
71+
name: 'UPDATE_GITHUB_ISSUE',
72+
description: 'To create/close/update a github issue for all component or not.',
73+
defaultValue: true
74+
)
7075
}
7176
stages {
7277
stage('detect docker image + args') {
@@ -114,7 +119,8 @@ pipeline {
114119
string(name: 'BUILD_PLATFORM', value: "${BUILD_PLATFORM}"),
115120
string(name: 'BUILD_DISTRIBUTION', value: "${BUILD_DISTRIBUTION}"),
116121
string(name: 'TEST_PLATFORM', value: "${TEST_PLATFORM}"),
117-
string(name: 'TEST_DISTRIBUTION', value: "${TEST_DISTRIBUTION}")
122+
string(name: 'TEST_DISTRIBUTION', value: "${TEST_DISTRIBUTION}"),
123+
booleanParam(name: 'UPDATE_GITHUB_ISSUE', value: "${UPDATE_GITHUB_ISSUE}")
118124
], wait: true
119125

120126
echo "Build succeeded, uploading build SHA for that job"

0 commit comments

Comments
 (0)