From c028d4ce6de6c21abf6533df8cde1d1a6af662c0 Mon Sep 17 00:00:00 2001 From: Andrew Tolbert Date: Tue, 7 Aug 2018 13:46:28 -0500 Subject: [PATCH] Use ubuntu/bionic64/ruby-driver bionic image on jenkins (#251) * Use ubuntu/bionic64/ruby-driver bionic image on jenkins * Substitute '-java' in version name for jruby --- build.yaml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/build.yaml b/build.yaml index edc745226..44bcd5b56 100644 --- a/build.yaml +++ b/build.yaml @@ -22,8 +22,14 @@ cassandra: - 3.0 - '3.11' os: - - ubuntu/trusty64 + - ubuntu/bionic64/ruby-driver build: + - script: | + ruby_version=`ruby --version` + if [[ `ruby --version` == jruby* ]]; then + # Add '-java' to version as that is included in version name when using jruby + sed -i -r 's/cassandra-driver \((.*)\)/cassandra-driver (\1-java)/' Gemfile.lock + fi - type: bundler without: development docs - script: |