Skip to content

Commit

Permalink
[Backport 1.9] Add tag as the release branch in jenkinsfile release (#…
Browse files Browse the repository at this point in the history
…642)

Signed-off-by: Peter Zhu <[email protected]>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent 5c071bc commit ed2b7ac
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 ed2b7ac

Please sign in to comment.