如下my commit之后,
- <a href="admins/main?logintype=openredirect"><fmt:message
+ <a href="admins/main?logintype=openredirect&goto=/uid/serverinfo.jsp"><fmt:message
Travis CI已经开始无法使用以下日志构建我的应用程序:
$ export PATH=$JAVA_HOME/bin:$PATH
$ java -Xmx32m -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
$ javac -J-Xmx32m -version
javac 1.8.0_131
$ true
$ mvn -DskipTests=true clean verify
Error: JAVA_HOME is not defined correctly.
We cannot execute /usr/lib/jvm/java-7-oracle/bin/java
The command "mvn -DskipTests=true clean verify" exited with 1.
Done. Your build exited with 1.
有谁知道原因以及如何解决?
更多详情:https://travis-ci.org/k-tamura/easybuggy/jobs/271565768
.travis.yml
language: java
jdk:
- openjdk7
- oraclejdk7
install: true
script: mvn -DskipTests=true clean verify
notifications:
email:
- ktamura.biz.80@gmail.com
答案 0 :(得分:3)
GitHub上travis-ci存储库的所有者声称他们不再支持oraclejdk7
。
https://github.com/travis-ci/travis-ci/issues/7884#issuecomment-308451879
您应该使用oraclejdk8
。