My JRuby builds that were previously working fine on CircleCI 1.0 started failing today. I tried rebuilding previously passing builds and they also failed, so I don’t think it is because of anything I changed. The problem seems to be with the the installation of JRuby 1.7.22 trying to run mvnw which isn’t present,
jruby-1.7.22 is not installed - installing. Searching for binary rubies, this might take some time. No binary rubies available for: ubuntu/14.04/x86_64/jruby-1.7.22. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for ubuntu. Requirements installation successful. $JAVA_HOME was empty, setting up JAVA_HOME=/usr/lib/jvm/jdk1.8.0, if it fails try setting JAVA_HOME to something sane and try again. Cloning from https://github.com/jruby/jruby.git, this may take a while depending on your connection|/-. HEAD is now at dce612ecd0 Merge ruby/spec commit '76e0c03d7916b26b92a4c871f68e333846bab6f4' From ssh://github.com:/jruby/jruby * branch master -> FETCH_HEAD Already up-to-date. git checkout 1.7.22 Copying from repo to src path... jruby-1.7.22 - #/opt/circleci/.rvm/src/jruby-1.7.22/mvnw|. Error running '/opt/circleci/.rvm/src/jruby-1.7.22/mvnw', showing last 15 lines of /opt/circleci/.rvm/log/1505492439_jruby-1.7.22/mvnw.log
Here are the contents of mvnw.log:
[2017-09-15 11:21:06] /opt/circleci/.rvm/src/jruby-1.7.22/mvnw
current path: /opt/circleci/.rvm/src/jruby-1.7.22
/opt/circleci/.rvm/scripts/functions/utility_logging: line 210: /opt/circleci/.rvm/src/jruby-1.7.22/mvnw: No such file or directory
Seems to simply be an indication that mvnw does not exist.