在我提交的更改后,
- <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