You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by pe...@apache.org on 2017/08/20 15:03:51 UTC

[51/53] [abbrv] beam git commit: jstorm-runner: Add job file to run ValidatesRunner tests of JStorm runner

jstorm-runner: Add job file to run ValidatesRunner tests of JStorm runner


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

Branch: refs/heads/jstorm-runner
Commit: cb1c3f4694a777b2f5a19959561e388bda36a972
Parents: 9e80873
Author: basti.lj <ba...@alibaba-inc.com>
Authored: Wed Aug 16 19:03:38 2017 +0800
Committer: Pei He <pe...@apache.org>
Committed: Sat Aug 19 12:03:01 2017 +0800

----------------------------------------------------------------------
 ...ostCommit_Java_ValidatesRunner_JStorm.groovy | 43 ++++++++++++++++++++
 1 file changed, 43 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/cb1c3f46/.test-infra/jenkins/job_beam_PostCommit_Java_ValidatesRunner_JStorm.groovy
----------------------------------------------------------------------
diff --git a/.test-infra/jenkins/job_beam_PostCommit_Java_ValidatesRunner_JStorm.groovy b/.test-infra/jenkins/job_beam_PostCommit_Java_ValidatesRunner_JStorm.groovy
new file mode 100644
index 0000000..f7578fa
--- /dev/null
+++ b/.test-infra/jenkins/job_beam_PostCommit_Java_ValidatesRunner_JStorm.groovy
@@ -0,0 +1,43 @@
+/*
+ * 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 common_job_properties
+
+// This job runs the suite of ValidatesRunner tests against the JStorm runner.
+mavenJob('beam_PostCommit_Java_ValidatesRunner_JStorm') {
+  description('Runs the ValidatesRunner suite on the JStorm runner.')
+  previousNames('beam_PostCommit_Java_RunnableOnService_JStorm')
+
+  // Set common parameters.
+  common_job_properties.setTopLevelMainJobProperties(delegate)
+
+  // Set maven parameters.
+  common_job_properties.setMavenConfig(delegate)
+
+  // Sets that this is a PostCommit job.
+  common_job_properties.setPostCommit(delegate)
+
+  // Allows triggering this build against pull requests.
+  common_job_properties.enablePhraseTriggeringFromPullRequest(
+    delegate,
+    'Apache JStorm Runner ValidatesRunner Tests',
+    'Run JStorm ValidatesRunner')
+
+  // Maven goals for this job.
+  goals('-B -e clean verify -am -pl runners/jstorm -Plocal-validates-runner-tests -Pvalidates-runner-tests')
+}