From 68101d9f8d290bc71e3cd32c1474da1a2fd4d2ce Mon Sep 17 00:00:00 2001 From: Yifan Zou Date: Mon, 22 Apr 2019 10:00:32 -0700 Subject: [PATCH] BEAM-6919 switch snapshot publishing to ubuntu labelled agents --- .test-infra/jenkins/job_Release_NightlySnapshot.groovy | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.test-infra/jenkins/job_Release_NightlySnapshot.groovy b/.test-infra/jenkins/job_Release_NightlySnapshot.groovy index 1a925e1985663..843c53d0553b5 100644 --- a/.test-infra/jenkins/job_Release_NightlySnapshot.groovy +++ b/.test-infra/jenkins/job_Release_NightlySnapshot.groovy @@ -28,7 +28,7 @@ job('beam_Release_NightlySnapshot') { concurrentBuild() // Set common parameters. Timeout is longer, to avoid [BEAM-5774]. - commonJobProperties.setTopLevelMainJobProperties(delegate, 'master', 200) + commonJobProperties.setTopLevelMainJobProperties(delegate, 'master', 200, true, 'ubuntu') // This is a post-commit job that runs once per day, not for every push. commonJobProperties.setAutoJob( @@ -48,6 +48,10 @@ job('beam_Release_NightlySnapshot') { rootBuildScriptDir(commonJobProperties.checkoutDir) tasks('clean') } + /* + * Skipping verification on 'ubuntu' labelled nodes since they don't have access to the + * some required GCP resouces. + * TODO: Uncomment this after we publishing snapshots on 'beam' nodes. gradle { rootBuildScriptDir(commonJobProperties.checkoutDir) tasks('build') @@ -55,6 +59,7 @@ job('beam_Release_NightlySnapshot') { switches('--no-parallel') switches('--continue') } + */ gradle { rootBuildScriptDir(commonJobProperties.checkoutDir) tasks('publish')