[BEAM-561] Add Streaming IT in Jenkins Pre-commit

Project: http://git-wip-us.apache.org/repos/asf/incubator-beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-beam/commit/f028f1c0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-beam/tree/f028f1c0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-beam/diff/f028f1c0

Branch: refs/heads/master
Commit: f028f1c07c9a4229020c082b8a367af68a1ff531
Parents: 565319b
Author: Mark Liu <mark...@markliu-macbookpro.roam.corp.google.com>
Authored: Tue Oct 4 12:43:46 2016 -0700
Committer: Dan Halperin <dhalp...@google.com>
Committed: Wed Oct 5 11:21:59 2016 -0700

----------------------------------------------------------------------
 examples/java/pom.xml | 63 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-beam/blob/f028f1c0/examples/java/pom.xml
----------------------------------------------------------------------
diff --git a/examples/java/pom.xml b/examples/java/pom.xml
index 6b1b7ce..0dd8d6d 100644
--- a/examples/java/pom.xml
+++ b/examples/java/pom.xml
@@ -244,6 +244,69 @@
         </plugins>
       </build>
     </profile>
+
+    <profile>
+      <id>jenkins-precommit-streaming</id>
+      <properties>
+        <it.test>WindowedWordCountIT</it.test>
+        <skipITs>false</skipITs>
+        <skipDefaultIT>true</skipDefaultIT>
+      </properties>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.maven.plugins</groupId>
+            <artifactId>maven-failsafe-plugin</artifactId>
+            <configuration>
+              <useManifestOnlyJar>false</useManifestOnlyJar>
+              <redirectTestOutputToFile>true</redirectTestOutputToFile>
+            </configuration>
+            <executions>
+              <execution>
+                <id>direct-runner-integration-tests</id>
+                <goals>
+                  <goal>integration-test</goal>
+                  <goal>verify</goal>
+                </goals>
+                <configuration>
+                  <parallel>all</parallel>
+                  <threadCount>4</threadCount>
+                  <systemPropertyVariables>
+                    <beamTestPipelineOptions>
+                      [
+                      "--project=apache-beam-testing",
+                      "--tempLocation=gs://temp-storage-for-end-to-end-tests",
+                      "--runner=org.apache.beam.runners.direct.DirectRunner"
+                      ]
+                    </beamTestPipelineOptions>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
+              <execution>
+                <id>dataflow-runner-integration-tests</id>
+                <goals>
+                  <goal>integration-test</goal>
+                  <goal>verify</goal>
+                </goals>
+                <configuration>
+                  <parallel>all</parallel>
+                  <threadCount>4</threadCount>
+                  <systemPropertyVariables>
+                    <beamTestPipelineOptions>
+                      [
+                      "--project=apache-beam-testing",
+                      "--tempRoot=gs://temp-storage-for-end-to-end-tests",
+                      
"--runner=org.apache.beam.runners.dataflow.testing.TestDataflowRunner"
+                      ]
+                    </beamTestPipelineOptions>
+                  </systemPropertyVariables>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
   <build>

Reply via email to