Skip to content

Commit

Permalink
Use concatenation
Browse files Browse the repository at this point in the history
Signed-off-by: Craig Perkins <[email protected]>
  • Loading branch information
cwperks committed Aug 2, 2023
1 parent bc08b54 commit 1e96897
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sample-extension-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -132,14 +132,15 @@ String baseName = "jobSchedulerBwcCluster"
String bwcOpenSearchVersion = "2.10.0"
String bwcPluginVersion = bwcOpenSearchVersion + ".0"
String bwcFilePath = "src/test/resources/bwc/job-scheduler/"
bwcOpenSearchVersion += "-SNAPSHOT"
String bwcFileName = "opensearch-job-scheduler-" + bwcPluginVersion + ".zip"
String bwcDownloadUrl = "https://aws.oss.sonatype.org/service/local/artifact/maven/redirect?r=snapshots&g=org.opensearch.plugin&a=opensearch-job-scheduler&v=$bwcPluginVersion-SNAPSHOT&p=zip"

2.times {i ->
testClusters {
"${baseName}$i" {
testDistribution = "ARCHIVE"
versions = ["${bwcOpenSearchVersion}-SNAPSHOT", opensearch_version]
versions = [bwcOpenSearchVersion, opensearch_version]
numberOfNodes = 3
plugin(provider(new Callable<RegularFile>(){
@Override
Expand Down

0 comments on commit 1e96897

Please sign in to comment.