chore: Add web-e2e profile to mvn

This commit is contained in:
1ambda 2017-07-10 22:20:07 +09:00
parent ca2b17034c
commit 0c2c1ecbfb
2 changed files with 13 additions and 3 deletions

View file

@ -52,7 +52,7 @@ matrix:
# HeliumApplicationFactoryTest - https://issues.apache.org/jira/browse/ZEPPELIN-2470
# After issues are fixed these tests need to be included back by removing them from the "-Dtests.to.exclude" property
- jdk: "oraclejdk7"
env: SCALA_VER="2.11" SPARK_VER="2.1.0" HADOOP_VER="2.6" PROFILE="-Pweb-ci -Pscalding -Phelium-dev -Pexamples -Pscala-2.11" BUILD_FLAG="package -Pbuild-distr -DskipRat" TEST_FLAG="verify -e -Pusing-packaged-distr -DskipRat" MODULES="-pl ${INTERPRETERS}" TEST_PROJECTS="-Dtests.to.exclude=**/ZeppelinSparkClusterTest.java,**/org.apache.zeppelin.spark.*,**/HeliumApplicationFactoryTest.java -DfailIfNoTests=false"
env: SCALA_VER="2.11" SPARK_VER="2.1.0" HADOOP_VER="2.6" PROFILE="-Pweb-ci -Pweb-e2e -Pscalding -Phelium-dev -Pexamples -Pscala-2.11" BUILD_FLAG="package -Pbuild-distr -DskipRat" TEST_FLAG="verify -e -Pusing-packaged-distr -DskipRat" MODULES="-pl ${INTERPRETERS}" TEST_PROJECTS="-Dtests.to.exclude=**/ZeppelinSparkClusterTest.java,**/org.apache.zeppelin.spark.*,**/HeliumApplicationFactoryTest.java -DfailIfNoTests=false"
# Test selenium with spark module for 1.6.3
- jdk: "oraclejdk7"

View file

@ -38,6 +38,8 @@
</prerequisites>
<properties>
<web.e2e.disabled>true</web.e2e.disabled>
<!--library versions-->
<commons.httpclient.version>4.3.6</commons.httpclient.version>
<jersey.version>2.22.2</jersey.version>
@ -453,8 +455,9 @@
</executions>
<configuration>
<!-- use existing yarn -->
<workingDirectory>${project.parent.basedir}/zeppelin-web</workingDirectory>
<skip>${web.e2e.disabled}</skip>
<!-- use existing yarn -->
<workingDirectory>${project.parent.basedir}/zeppelin-web</workingDirectory>
</configuration>
</plugin>
@ -523,6 +526,13 @@
</properties>
</profile>
<profile>
<id>web-e2e</id>
<properties>
<web.e2e.disabled>false</web.e2e.disabled>
</properties>
</profile>
<profile>
<id>using-packaged-distr</id>
<activation>