Skip to content

Commit

Permalink
Fix validation workflow params in central release workflow (#4860)
Browse files Browse the repository at this point in the history
Signed-off-by: Sayali Gaikawad <[email protected]>
  • Loading branch information
gaiksaya authored Jul 17, 2024
1 parent 1e44ab2 commit 4381e6b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jenkins/promotion/release-promotion.jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ pipeline {
string(name: 'PROJECTS', value: 'Both'),
string(name: 'DOCKER_SOURCE', value: 'Both'),
string(name: 'ARTIFACT_TYPE', value: 'production'),
string(name: 'OPTIONAL_ARGS', value: 'validate-digests-only')
string(name: 'OPTIONAL_ARGS', value: 'validate-digest-only')
]
echo 'Artifacts are successfully validated!'
}
Expand Down
2 changes: 1 addition & 1 deletion tests/jenkins/TestOpenSearchReleasePromotionTest.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ class TestOpenSearchReleasePromotionTest extends BuildPipelineTest {
assertCallStack().contains('release-promotion.string({name=PROJECTS, value=Both})')
assertCallStack().contains('release-promotion.string({name=DOCKER_SOURCE, value=Both})')
assertCallStack().contains('release-promotion.string({name=ARTIFACT_TYPE, value=production})')
assertCallStack().contains('release-promotion.string({name=OPTIONAL_ARGS, value=validate-digests-only})')
assertCallStack().contains('release-promotion.string({name=OPTIONAL_ARGS, value=validate-digest-only})')
assertCallStack().contains('release-promotion.build({job=distribution-validation, wait=true, parameters=[null, null, null, null, null, null, null, null]})')

// Maven Promotion Workflow
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
release-promotion.string({name=PROJECTS, value=Both})
release-promotion.string({name=DOCKER_SOURCE, value=Both})
release-promotion.string({name=ARTIFACT_TYPE, value=production})
release-promotion.string({name=OPTIONAL_ARGS, value=validate-digests-only})
release-promotion.string({name=OPTIONAL_ARGS, value=validate-digest-only})
release-promotion.build({job=distribution-validation, wait=true, parameters=[null, null, null, null, null, null, null, null]})
release-promotion.echo(Artifacts are successfully validated!)
release-promotion.stage(Publish to Maven, groovy.lang.Closure)
Expand Down

0 comments on commit 4381e6b

Please sign in to comment.