[ 
https://issues.apache.org/jira/browse/BEAM-5845?focusedWorklogId=158252&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-158252
 ]

ASF GitHub Bot logged work on BEAM-5845:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 24/Oct/18 18:11
            Start Date: 24/Oct/18 18:11
    Worklog Time Spent: 10m 
      Work Description: kennknowles closed pull request #6802: [BEAM-5845] 
Split Dataflow run of examples precommit to its own job
URL: https://github.com/apache/beam/pull/6802
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/.test-infra/jenkins/job_PreCommit_Java_Examples_Dataflow.groovy 
b/.test-infra/jenkins/job_PreCommit_Java_Examples_Dataflow.groovy
new file mode 100644
index 00000000000..238ca1d604e
--- /dev/null
+++ b/.test-infra/jenkins/job_PreCommit_Java_Examples_Dataflow.groovy
@@ -0,0 +1,37 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import PrecommitJobBuilder
+
+PrecommitJobBuilder builder = new PrecommitJobBuilder(
+    scope: this,
+    nameBase: 'Java_Examples_Dataflow',
+    gradleTask: ':javaExamplesDataflowPreCommit',
+    triggerPathPatterns: [
+      '^model/.*$',
+      '^sdks/java/.*$',
+      '^runners/google-cloud-dataflow/.*$',
+      '^examples/java/.*$',
+      '^release/.*$',
+    ]
+)
+builder.build {
+  publishers {
+    archiveJunit('**/build/test-results/**/*.xml')
+  }
+}
diff --git a/build.gradle b/build.gradle
index e5d28b60cc4..09d5f439838 100644
--- a/build.gradle
+++ b/build.gradle
@@ -248,6 +248,11 @@ task communityMetricsPreCommit() {
   dependsOn ":beam-test-infra-metrics:preCommit"
 }
 
+task javaExamplesDataflowPrecommit() {
+  dependsOn ":beam-runners-google-cloud-dataflow-java-examples:preCommit"
+  dependsOn 
":beam-runners-google-cloud-dataflow-java-examples-streaming:preCommit"
+}
+
 task runBeamDependencyCheck() {
   dependsOn ":dependencyUpdates"
   dependsOn ":beam-sdks-python:dependencyUpdates"
diff --git a/examples/java/build.gradle b/examples/java/build.gradle
index 48d3c9bcf54..4207ae56e01 100644
--- a/examples/java/build.gradle
+++ b/examples/java/build.gradle
@@ -123,7 +123,5 @@ task preCommit() {
   for (String runner : preCommitRunners) {
     dependsOn runner + "PreCommit"
   }
-  dependsOn ":beam-runners-google-cloud-dataflow-java-examples:preCommit"
-  dependsOn 
":beam-runners-google-cloud-dataflow-java-examples-streaming:preCommit"
 }
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 158252)
    Time Spent: 2.5h  (was: 2h 20m)

> Precommit time (1h15m) includes 20m of Dataflow integration tests
> -----------------------------------------------------------------
>
>                 Key: BEAM-5845
>                 URL: https://issues.apache.org/jira/browse/BEAM-5845
>             Project: Beam
>          Issue Type: Improvement
>          Components: build-system
>            Reporter: Kenneth Knowles
>            Assignee: Kenneth Knowles
>            Priority: Major
>          Time Spent: 2.5h
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to