Skip to content

Commit

Permalink
6.8 doesn't have es jdk bundles
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Jan 7, 2020
1 parent 7e3c4d5 commit 12418c0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .ci/es-snapshots/Jenkinsfile_build_es
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ timeout(time: 120, unit: 'MINUTES') {
.split("\n")
.collect { filename ->
// Filename examples
// elasticsearch-oss-8.0.0-SNAPSHOT-linux-x86_64.tar.gz
// elasticsearch-8.0.0-SNAPSHOT-linux-x86_64.tar.gz
// elasticsearch-oss-6.8.7-SNAPSHOT.tar.gz
// elasticsearch-6.8.7-SNAPSHOT.tar.gz
def parts = filename.replace("elasticsearch-oss", "oss").split("-")

VERSION = VERSION ?: parts[1]
Expand All @@ -59,8 +59,8 @@ timeout(time: 120, unit: 'MINUTES') {
checksum: filename + '.sha512',
url: "https://storage.googleapis.com/kibana-ci-es-snapshots-daily/${DESTINATION}/${filename}".toString(),
version: parts[1],
platform: parts[3],
architecture: parts[4].split('\\.')[0],
platform: 'no-jdk',
architecture: '',
license: parts[0] == 'oss' ? 'oss' : 'default',
]
}
Expand Down Expand Up @@ -157,7 +157,7 @@ def buildArchives(destination) {
sh """
./gradlew -p distribution/archives assemble --parallel
mkdir -p ${destination}
find distribution/archives -type f \\( -name 'elasticsearch-*-*-*-*.tar.gz' -o -name 'elasticsearch-*-*-*-*.zip' \\) -not -path *no-jdk* -exec cp {} ${destination} \\;
find distribution/archives -type f \\( -name 'elasticsearch-*.tar.gz' -o -name 'elasticsearch-*.zip' \\) -not -path *no-jdk* -exec cp {} ${destination} \\;
"""
}
}

0 comments on commit 12418c0

Please sign in to comment.