beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From al...@apache.org
Subject [1/2] beam git commit: Pin the python postcommit jenkins nodes
Date Mon, 27 Mar 2017 18:29:10 GMT
Repository: beam
Updated Branches:
  refs/heads/master 1d36d32fe -> 815c9fa75


Pin the python postcommit jenkins nodes


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

Branch: refs/heads/master
Commit: 7f7d28502d120cf93fa5cf976da391760b932a45
Parents: 1d36d32
Author: Sourabh Bajaj <sourabhbajaj@google.com>
Authored: Mon Mar 27 11:11:24 2017 -0700
Committer: Ahmet Altay <altay@google.com>
Committed: Mon Mar 27 11:28:57 2017 -0700

----------------------------------------------------------------------
 .jenkins/job_beam_PostCommit_Python_Verify.groovy | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/beam/blob/7f7d2850/.jenkins/job_beam_PostCommit_Python_Verify.groovy
----------------------------------------------------------------------
diff --git a/.jenkins/job_beam_PostCommit_Python_Verify.groovy b/.jenkins/job_beam_PostCommit_Python_Verify.groovy
index c46cb3c..28cf77e 100644
--- a/.jenkins/job_beam_PostCommit_Python_Verify.groovy
+++ b/.jenkins/job_beam_PostCommit_Python_Verify.groovy
@@ -36,6 +36,18 @@ job('beam_PostCommit_Python_Verify') {
     'Python SDK PostCommit Tests',
     'Run Python PostCommit')
 
+  // Allow the test to only run on particular nodes
+  // TODO(BEAM-1817): Remove once the tests can run on all nodes
+  parameters {
+      nodeParam('TEST_HOST') {
+          description('select test host as either beam1, 2 or 3')
+          defaultNodes(['beam3'])
+          allowedNodes(['beam1', 'beam2', 'beam3'])
+          trigger('multiSelectionDisallowed')
+          eligibility('IgnoreOfflineNodeEligibility')
+      }
+  }
+
   // Execute shell command to test Python SDK.
   steps {
     shell('bash sdks/python/run_postcommit.sh')


Mime
View raw message