You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by ke...@apache.org on 2017/10/20 21:38:24 UTC
[1/2] beam git commit: Clone source to a distinguished subdirectory
of Jenkins workspace
Repository: beam
Updated Branches:
refs/heads/master f7aa41aa1 -> a29e0ad61
Clone source to a distinguished subdirectory of Jenkins workspace
Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/241d3ced
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/241d3ced
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/241d3ced
Branch: refs/heads/master
Commit: 241d3cedd5a8fd3f360b8ec2f3a8ef5001cbca98
Parents: 49c3927
Author: Kenneth Knowles <kl...@google.com>
Authored: Tue Oct 10 15:53:55 2017 -0700
Committer: Kenneth Knowles <kl...@google.com>
Committed: Thu Oct 19 19:07:19 2017 -0700
----------------------------------------------------------------------
.test-infra/jenkins/common_job_properties.groovy | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/beam/blob/241d3ced/.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 c6a8b27..2930d74 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.
[2/2] beam git commit: This closes #3976: Clone source to a
distinguished subdirectory of Jenkins workspace
Posted by ke...@apache.org.
This closes #3976: Clone source to a distinguished subdirectory of Jenkins workspace
Project: http://git-wip-us.apache.org/repos/asf/beam/repo
Commit: http://git-wip-us.apache.org/repos/asf/beam/commit/a29e0ad6
Tree: http://git-wip-us.apache.org/repos/asf/beam/tree/a29e0ad6
Diff: http://git-wip-us.apache.org/repos/asf/beam/diff/a29e0ad6
Branch: refs/heads/master
Commit: a29e0ad61fc1c3acfc62c31820b137a2beccd313
Parents: f7aa41a 241d3ce
Author: Kenneth Knowles <ke...@apache.org>
Authored: Fri Oct 20 14:38:06 2017 -0700
Committer: Kenneth Knowles <ke...@apache.org>
Committed: Fri Oct 20 14:38:06 2017 -0700
----------------------------------------------------------------------
.test-infra/jenkins/common_job_properties.groovy | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------