Skip to content

Commit

Permalink
Add tag as the release branch in jenkinsfile release (#640)
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Zhu <[email protected]>
(cherry picked from commit cc1f62b)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] committed Sep 12, 2024
1 parent 5c071bc commit 71fb0e4
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 71fb0e4

Please sign in to comment.