Skip to content

Commit

Permalink
Pull artifact from ci if bwc version contains snapshot
Browse files Browse the repository at this point in the history
Signed-off-by: John Mazanec <[email protected]>
  • Loading branch information
jmazanec15 committed Dec 8, 2022
1 parent 6800461 commit 57f40e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qa/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ task pullBwcPlugin {

doLast {
ext{
if (knn_bwc_version == "2.4.0") {
if (knn_bwc_version.contains("SNAPSHOT")) {
srcUrl = "https://ci.opensearch.org/ci/dbc/distribution-build-opensearch/${knn_bwc_version}/latest/linux/x64/tar/dist/opensearch/opensearch-${knn_bwc_version}-linux-x64.tar.gz"
} else {
srcUrl = "https://artifacts.opensearch.org/releases/bundle/opensearch/${knn_bwc_version}/opensearch-${knn_bwc_version}-linux-x64.tar.gz"
Expand Down

0 comments on commit 57f40e6

Please sign in to comment.