This is an automated email from the ASF dual-hosted git repository.

ibzib pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 1096956  [BEAM-13521] flink pvr batch precommit
     new 5b06fa3  Merge pull request #16349 from ibzib/flink-pvr
1096956 is described below

commit 1096956c2ed9e379dc914d961d7b3e6131ed59ca
Author: Kyle Weaver <kcwea...@google.com>
AuthorDate: Thu Dec 23 11:53:31 2021 -0800

    [BEAM-13521] flink pvr batch precommit
---
 ...Java_PortableValidatesRunner_Flink_Batch.groovy | 44 ----------------------
 ...Java_PortableValidatesRunner_Flink_Batch.groovy | 40 ++++++++++++++++++++
 2 files changed, 40 insertions(+), 44 deletions(-)

diff --git 
a/.test-infra/jenkins/job_PostCommit_Java_PortableValidatesRunner_Flink_Batch.groovy
 
b/.test-infra/jenkins/job_PostCommit_Java_PortableValidatesRunner_Flink_Batch.groovy
deleted file mode 100644
index 9857320..0000000
--- 
a/.test-infra/jenkins/job_PostCommit_Java_PortableValidatesRunner_Flink_Batch.groovy
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * 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 CommonJobProperties as commonJobProperties
-import CommonTestProperties
-import PostcommitJobBuilder
-
-// This job runs the suite of ValidatesRunner tests against the Flink runner.
-PostcommitJobBuilder.postCommitJob('beam_PostCommit_Java_PVR_Flink_Batch',
-    'Run Java Flink PortableValidatesRunner Batch', 'Java Flink 
PortableValidatesRunner Batch Tests', this) {
-      description('Runs the Java PortableValidatesRunner suite on the Flink 
runner.')
-
-      // Set common parameters.
-      commonJobProperties.setTopLevelMainJobProperties(delegate, 'master', 240)
-
-      // Publish all test results to Jenkins
-      publishers {
-        archiveJunit('**/build/test-results/**/*.xml')
-      }
-
-      // Gradle goals for this job.
-      steps {
-        gradle {
-          rootBuildScriptDir(commonJobProperties.checkoutDir)
-          
tasks(":runners:flink:${CommonTestProperties.getFlinkVersion()}:job-server:validatesPortableRunnerBatch")
-          commonJobProperties.setGradleSwitches(delegate)
-        }
-      }
-    }
diff --git 
a/.test-infra/jenkins/job_PreCommit_Java_PortableValidatesRunner_Flink_Batch.groovy
 
b/.test-infra/jenkins/job_PreCommit_Java_PortableValidatesRunner_Flink_Batch.groovy
new file mode 100644
index 0000000..8efb098
--- /dev/null
+++ 
b/.test-infra/jenkins/job_PreCommit_Java_PortableValidatesRunner_Flink_Batch.groovy
@@ -0,0 +1,40 @@
+/*
+ * 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 CommonTestProperties
+import PrecommitJobBuilder
+
+// This job runs the suite of ValidatesRunner tests against the Flink runner.
+PrecommitJobBuilder builder = new PrecommitJobBuilder(
+    scope: this,
+    nameBase: 'Java_PVR_Flink_Batch',
+    gradleTask: 
":runners:flink:${CommonTestProperties.getFlinkVersion()}:job-server:validatesPortableRunnerBatch",
+    timeoutMins: 240,
+    triggerPathPatterns: [
+      '^sdks/java/core/src/test/java/org/apache/beam/sdk/transforms/.*$',
+      '^runners/flink/.*$',
+      '^runners/java-fn-execution/.*$',
+    ],
+    )
+builder.build {
+  previousNames('beam_PostCommit_Java_PVR_Flink_Batch')
+  // Publish all test results to Jenkins.
+  publishers {
+    archiveJunit('**/build/test-results/**/*.xml')
+  }
+}

Reply via email to