Add runners/direct-java to Java precommit

Previously `-pl sdks/java/core -am -amd` was our Maven shorthand for getting
"everything" into the Maven reactor.


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

Branch: refs/heads/master
Commit: cdefb111b542b70667e015d0370f2bee22531284
Parents: 687828f
Author: Kenneth Knowles <k...@google.com>
Authored: Mon Oct 9 09:11:06 2017 -0700
Committer: Kenneth Knowles <k...@google.com>
Committed: Mon Oct 9 09:14:25 2017 -0700

----------------------------------------------------------------------
 .test-infra/jenkins/job_beam_PreCommit_Java_MavenInstall.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/cdefb111/.test-infra/jenkins/job_beam_PreCommit_Java_MavenInstall.groovy
----------------------------------------------------------------------
diff --git a/.test-infra/jenkins/job_beam_PreCommit_Java_MavenInstall.groovy 
b/.test-infra/jenkins/job_beam_PreCommit_Java_MavenInstall.groovy
index e8f87b9..8721468 100644
--- a/.test-infra/jenkins/job_beam_PreCommit_Java_MavenInstall.groovy
+++ b/.test-infra/jenkins/job_beam_PreCommit_Java_MavenInstall.groovy
@@ -38,14 +38,14 @@ mavenJob('beam_PreCommit_Java_MavenInstall') {
   common_job_properties.setMavenConfig(delegate)
 
   // Sets that this is a PreCommit job.
-  common_job_properties.setPreCommit(delegate, 'mvn clean install -pl 
sdks/java/core -am -amd', 'Run Java PreCommit')
+  common_job_properties.setPreCommit(delegate, 'mvn clean install -pl 
sdks/java/core,runners/direct-java -am -amd', 'Run Java PreCommit')
 
   // Maven goals for this job: The Java SDK, its dependencies, and things that 
depend on it.
   goals('''\
     --batch-mode \
     --errors \
     --activate-profiles 
release,jenkins-precommit,direct-runner,dataflow-runner,spark-runner,flink-runner,apex-runner
 \
-    --projects sdks/java/core \
+    --projects sdks/java/core,runners/direct-java \
     --also-make \
     --also-make-dependents \
     -D repoToken=$COVERALLS_REPO_TOKEN \

Reply via email to