This is an automated email from the ASF dual-hosted git repository.

altay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 992cf83  [INFRA-17335] Check more Python versions in inventory job
     new b29277b  Merge pull request #7712 from markflyhigh/py3-inventory
992cf83 is described below

commit 992cf83f9609c3fc7a84b48d4f974dda67031010
Author: Mark Liu <mark...@google.com>
AuthorDate: Sat Feb 2 08:55:11 2019 -0800

    [INFRA-17335] Check more Python versions in inventory job
---
 .test-infra/jenkins/job_Inventory.groovy | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/.test-infra/jenkins/job_Inventory.groovy 
b/.test-infra/jenkins/job_Inventory.groovy
index aee120e..499b075 100644
--- a/.test-infra/jenkins/job_Inventory.groovy
+++ b/.test-infra/jenkins/job_Inventory.groovy
@@ -53,12 +53,17 @@ nums.each {
       shell('ls /home/jenkins/tools/*')
       shell('python --version || echo "python not found"')
       shell('python3 --version || echo "python3 not found"')
+      shell('python3.5 --version || echo "python3.5 not found"')
+      shell('python3.6 --version || echo "python3.6 not found"')
+      shell('python3.7 --version || echo "python3.7 not found"')
       shell('/home/jenkins/tools/maven/latest/mvn -v || echo "mvn not found"')
       shell('/home/jenkins/tools/gradle4.3/gradle -v || echo "gradle not 
found"')
       shell('gcloud -v || echo "gcloud not found"')
       shell('kubectl version -c || echo "kubectl not found"')
-      shell('virtualenv -p python2.7 test2 && . ./test2/bin/activate && python 
--version && deactivate || echo "python 2.7 not found"')
-      shell('virtualenv -p python3 test3 && . ./test3/bin/activate && python 
--version && deactivate || echo "python 3 not found"')
+      shell('virtualenv -p python2.7 test27 && . ./test27/bin/activate && 
python --version && deactivate || echo "python 2.7 not found"')
+      shell('virtualenv -p python3.5 test35 && . ./test35/bin/activate && 
python --version && deactivate || echo "python 3.5 not found"')
+      shell('virtualenv -p python3.6 test36 && . ./test36/bin/activate && 
python --version && deactivate || echo "python 3.6 not found"')
+      shell('virtualenv -p python3.7 test37 && . ./test37/bin/activate && 
python --version && deactivate || echo "python 3.7 not found"')
       shell('echo "Maven home $MAVEN_HOME"')
       shell('env')
     }

Reply via email to