Skip to content

Commit

Permalink
Resolve issues where UPDATE_GITHUB_ISSUE is not supported in check-fo…
Browse files Browse the repository at this point in the history
…r-build (#5350)

Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
  • Loading branch information
peterzhuamazon authored Feb 26, 2025
1 parent c8b2f8f commit 478cacb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion jenkins/check-for-build.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ pipeline {
description: 'Distribution to test',
trim: true
)
booleanParam(
name: 'UPDATE_GITHUB_ISSUE',
description: 'To create/close/update a github issue for all component or not.',
defaultValue: true
)
}
stages {
stage('detect docker image + args') {
Expand Down Expand Up @@ -114,7 +119,8 @@ pipeline {
string(name: 'BUILD_PLATFORM', value: "${BUILD_PLATFORM}"),
string(name: 'BUILD_DISTRIBUTION', value: "${BUILD_DISTRIBUTION}"),
string(name: 'TEST_PLATFORM', value: "${TEST_PLATFORM}"),
string(name: 'TEST_DISTRIBUTION', value: "${TEST_DISTRIBUTION}")
string(name: 'TEST_DISTRIBUTION', value: "${TEST_DISTRIBUTION}"),
booleanParam(name: 'UPDATE_GITHUB_ISSUE', value: "${UPDATE_GITHUB_ISSUE}")
], wait: true

echo "Build succeeded, uploading build SHA for that job"
Expand Down

0 comments on commit 478cacb

Please sign in to comment.