Skip to content

Commit c028d4c

Browse files
authored
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
1 parent ad3eaa7 commit c028d4c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

build.yaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,14 @@ cassandra:
2222
- 3.0
2323
- '3.11'
2424
os:
25-
- ubuntu/trusty64
25+
- ubuntu/bionic64/ruby-driver
2626
build:
27+
- script: |
28+
ruby_version=`ruby --version`
29+
if [[ `ruby --version` == jruby* ]]; then
30+
# Add '-java' to version as that is included in version name when using jruby
31+
sed -i -r 's/cassandra-driver \((.*)\)/cassandra-driver (\1-java)/' Gemfile.lock
32+
fi
2733
- type: bundler
2834
without: development docs
2935
- script: |

0 commit comments

Comments
 (0)