Skip to content

Commit c5875f9

Browse files
committed
fix bwc
Signed-off-by: xinyual <xinyual@amazon.com>
1 parent 001d277 commit c5875f9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

integ-test/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ apply plugin: 'io.freefair.lombok'
4545
apply plugin: 'com.wiredforcode.spawn'
4646

4747
String baseVersion = "2.19.0"
48-
String bwcVersion = baseVersion + ".0";
49-
String baseName = "sqlBwcCluster"
5048
String bwcFilePath = "src/test/resources/bwc/"
5149
String calciteCodegen = "$projectDir/src/test/java/codegen/"
5250

@@ -526,7 +524,9 @@ String bwcMinVersion = "1.1.0.0"
526524
String bwcBundleVersion = "1.3.2.0"
527525
Boolean bwcBundleTest = (project.findProperty('customDistributionDownloadType') != null &&
528526
project.properties['customDistributionDownloadType'] == "bundle");
527+
String bwcVersion = bwcBundleTest ? bwcBundleVersion : bwcMinVersion
529528
String currentVersion = opensearch_version.replace("-SNAPSHOT","")
529+
String baseName = "sqlBwcCluster"
530530
String bwcSqlPlugin = "opensearch-sql-" + bwcVersion + ".zip"
531531
String bwcJSPlugin = "opensearch-job-scheduler-" + bwcVersion + ".zip"
532532
String bwcRemoteFileRoot = "https://ci.opensearch.org/ci/dbc/bundle-build/1.1.0/20210930/linux/x64/builds/opensearch/plugins/"

0 commit comments

Comments
 (0)