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

[1/3] beam git commit: Update the location of the root build directory to coincide with the checkout directory.

Repository: beam
Updated Branches:
  refs/heads/master ad3a5a9f5 -> ed40093d8


Update the location of the root build directory to coincide with the checkout directory.


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

Branch: refs/heads/master
Commit: a7ba2b4c54005ab84fddefee152aae0c030fa6fa
Parents: 905facb
Author: Luke Cwik <lc...@google.com>
Authored: Mon Nov 20 14:04:01 2017 -0800
Committer: Luke Cwik <lc...@google.com>
Committed: Mon Nov 20 15:14:38 2017 -0800

----------------------------------------------------------------------
 .test-infra/jenkins/job_beam_PreCommit_Java_GradleBuild.groovy | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/a7ba2b4c/.test-infra/jenkins/job_beam_PreCommit_Java_GradleBuild.groovy
----------------------------------------------------------------------
diff --git a/.test-infra/jenkins/job_beam_PreCommit_Java_GradleBuild.groovy b/.test-infra/jenkins/job_beam_PreCommit_Java_GradleBuild.groovy
index 2dc8ae9..6610a62 100644
--- a/.test-infra/jenkins/job_beam_PreCommit_Java_GradleBuild.groovy
+++ b/.test-infra/jenkins/job_beam_PreCommit_Java_GradleBuild.groovy
@@ -23,10 +23,6 @@ import common_job_properties
 job('beam_PreCommit_Java_GradleBuild') {
   description('Runs a build of the current GitHub Pull Request.')
 
-  // TODO: Re-enable once gradle can find the wrapper script within
-  // the relative checkout directory.
-  disabled()
-
   // Execute concurrent builds if necessary.
   concurrentBuild()
 
@@ -54,6 +50,7 @@ job('beam_PreCommit_Java_GradleBuild') {
 
   steps {
     gradle {
+      rootBuildScriptDir(common_job_properties.checkoutDir)
       for (String root_project : root_projects) {
         tasks(root_project + ':buildNeeded')
         tasks(root_project + ':buildDependents')


[2/3] beam git commit: Re-apply PR/3976 and disable the Jenkins Gradle build to fix the other precommits.

Posted by lc...@apache.org.
Re-apply PR/3976 and disable the Jenkins Gradle build to fix the other precommits.


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

Branch: refs/heads/master
Commit: 905facbb48e3e9fc4f4e48fbf65fd78474256185
Parents: ad3a5a9
Author: Luke Cwik <lc...@google.com>
Authored: Mon Nov 20 13:56:29 2017 -0800
Committer: Luke Cwik <lc...@google.com>
Committed: Mon Nov 20 15:14:38 2017 -0800

----------------------------------------------------------------------
 .test-infra/jenkins/common_job_properties.groovy               | 5 ++++-
 .test-infra/jenkins/job_beam_PreCommit_Java_GradleBuild.groovy | 4 ++++
 2 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/905facbb/.test-infra/jenkins/common_job_properties.groovy
----------------------------------------------------------------------
diff --git a/.test-infra/jenkins/common_job_properties.groovy b/.test-infra/jenkins/common_job_properties.groovy
index 68409c0..3b0776b 100644
--- a/.test-infra/jenkins/common_job_properties.groovy
+++ b/.test-infra/jenkins/common_job_properties.groovy
@@ -22,6 +22,8 @@
 //  http://groovy-lang.org/style-guide.html
 class common_job_properties {
 
+  static String checkoutDir = 'src'
+
   static void setSCM(def context, String repositoryName) {
     context.scm {
       git {
@@ -36,6 +38,7 @@ class common_job_properties {
         branch('${sha1}')
         extensions {
           cleanAfterCheckout()
+          relativeTargetDirectory(checkoutDir)
         }
       }
     }
@@ -171,7 +174,7 @@ class common_job_properties {
     // tiered compilation to make the JVM startup times faster during the tests.
     context.mavenOpts('-XX:+TieredCompilation')
     context.mavenOpts('-XX:TieredStopAtLevel=1')
-    context.rootPOM('pom.xml')
+    context.rootPOM(checkoutDir + '/pom.xml')
     // Use a repository local to the workspace for better isolation of jobs.
     context.localRepository(LocalRepositoryLocation.LOCAL_TO_WORKSPACE)
     // Disable archiving the built artifacts by default, as this is slow and flaky.

http://git-wip-us.apache.org/repos/asf/beam/blob/905facbb/.test-infra/jenkins/job_beam_PreCommit_Java_GradleBuild.groovy
----------------------------------------------------------------------
diff --git a/.test-infra/jenkins/job_beam_PreCommit_Java_GradleBuild.groovy b/.test-infra/jenkins/job_beam_PreCommit_Java_GradleBuild.groovy
index 40f64d1..2dc8ae9 100644
--- a/.test-infra/jenkins/job_beam_PreCommit_Java_GradleBuild.groovy
+++ b/.test-infra/jenkins/job_beam_PreCommit_Java_GradleBuild.groovy
@@ -23,6 +23,10 @@ import common_job_properties
 job('beam_PreCommit_Java_GradleBuild') {
   description('Runs a build of the current GitHub Pull Request.')
 
+  // TODO: Re-enable once gradle can find the wrapper script within
+  // the relative checkout directory.
+  disabled()
+
   // Execute concurrent builds if necessary.
   concurrentBuild()
 


[3/3] beam git commit: Re-apply PR/3976 and disable the Jenkins Gradle build to fix the other precommits.

Posted by lc...@apache.org.
Re-apply PR/3976 and disable the Jenkins Gradle build to fix the other precommits.

This closes #4154


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

Branch: refs/heads/master
Commit: ed40093d8bf47d23e7215d177415f26bfba83fea
Parents: ad3a5a9 a7ba2b4
Author: Luke Cwik <lc...@google.com>
Authored: Mon Nov 20 15:14:59 2017 -0800
Committer: Luke Cwik <lc...@google.com>
Committed: Mon Nov 20 15:14:59 2017 -0800

----------------------------------------------------------------------
 .test-infra/jenkins/common_job_properties.groovy               | 5 ++++-
 .test-infra/jenkins/job_beam_PreCommit_Java_GradleBuild.groovy | 1 +
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------