This is an automated email from the ASF dual-hosted git repository. lcwik pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/beam.git
commit 922b00c8343ba5e5475be17bd69d8c2d36631d3d Author: Daniel Oliveira <daniel.o.program...@gmail.com> AuthorDate: Tue Apr 3 16:20:42 2018 -0700 [BEAM-3250] Creating a gradle Jenkins config for Flink PostCommit. Started with the Flink PostCommit first because a gradle config for it was already written. This is my attempt at creating a simple gradle config before moving onto the more complex PostCommits. --- ...t_Java_ValidatesRunner_Flink_GradleBuild.groovy | 56 ++++++++++++++++++++++ 1 file changed, 56 insertions(+) diff --git a/.test-infra/jenkins/job_beam_PostCommit_Java_ValidatesRunner_Flink_GradleBuild.groovy b/.test-infra/jenkins/job_beam_PostCommit_Java_ValidatesRunner_Flink_GradleBuild.groovy new file mode 100644 index 0000000..b9bd941 --- /dev/null +++ b/.test-infra/jenkins/job_beam_PostCommit_Java_ValidatesRunner_Flink_GradleBuild.groovy @@ -0,0 +1,56 @@ +/* + * 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 Flink runner. +job('beam_PostCommit_Java_ValidatesRunner_Flink') { + description('Runs the ValidatesRunner suite on the Flink runner.') + + // Set common parameters. + common_job_properties.setTopLevelMainJobProperties(delegate) + + def gradle_switches = [ + // Gradle log verbosity enough to diagnose basic build issues + "--info", + // Continue the build even if there is a failure to show as many potential failures as possible. + '--continue', + // Until we verify the build cache is working appropriately, force rerunning all tasks + '--rerun-tasks', + ] + + // 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 Flink Runner ValidatesRunner Gradle Tests', + 'Run Flink ValidatesRunner Gradle') + + // Gradle goals for this job. + steps { + gradle { + rootBuildScriptDir(common_job_properties.checkoutDir) + tasks(':runners:flink:validatesRunner') + for (String gradle_switch : gradle_switches) { + switches(gradle_switch) + } + } + } +} -- To stop receiving notification emails like this one, please contact lc...@apache.org.