Skip to content

Commit

Permalink
Add tag as the release branch in jenkinsfile release (opensearch-proj…
Browse files Browse the repository at this point in the history
…ect#640)

Signed-off-by: Peter Zhu <[email protected]>
  • Loading branch information
peterzhuamazon authored Sep 12, 2024
1 parent 5403700 commit cc1f62b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions jenkins/release.JenkinsFile
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ standardReleasePipelineWithGenericTrigger(
string(name: 'DOCKER_BUILD_GIT_REPOSITORY', value: 'https://github.com/opensearch-project/opensearch-build'),
string(name: 'DOCKER_BUILD_GIT_REPOSITORY_REFERENCE', value: 'main'),
string(name: 'DOCKER_BUILD_SCRIPT_WITH_COMMANDS', value: [
'su $(id -un 1000) -c "cd docker/ci',
'git clone https://github.com/opensearch-project/opensearch-benchmark opensearch-benchmark',
'cp -a opensearch-benchmark/* ./"',
'cd docker/ci',
"su $(id -un 1000) -c \"cd docker/ci",
"git clone https://github.com/opensearch-project/opensearch-benchmark --branch ${tag} --single-branch opensearch-benchmark",
"cp -a opensearch-benchmark/* ./\"",
"cd docker/ci",
[
'bash',
'build-image-multi-arch.sh',
Expand Down

0 comments on commit cc1f62b

Please sign in to comment.