]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
explain the terrible implementation of the dynamic axis in jjb
authorAlfredo Deza <adeza@redhat.com>
Fri, 15 Apr 2016 20:19:05 +0000 (16:19 -0400)
committerAlfredo Deza <adeza@redhat.com>
Tue, 19 Apr 2016 17:25:23 +0000 (13:25 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
ceph-build/config/definitions/ceph-build.yml

index 928d13cb93197b261880eaaadd3a5c78e42f9d6b..7b8f60d1d83dcc298bc93f5919c1058f578e4281 100644 (file)
             - x86_64
             - arm64
       - axis:
+          # the dynamic axis is implemented **oddly** in jenkins job builder.
+          # It will pick just the first item in `values` and assign that to the
+          # 'variable name' that is where `DIST` would get expanded too. This
+          # is not documented. This means that DIST_VERSIONS will need to exist
+          # as an environment variable passed onto this job.
           type: dynamic
           name: DIST
           values:
-            - jessie
-            #- wheezy
-            #- precise
-            - trusty
-            - xenial
-            #- centos6
-            - centos7
+            - DIST_VERSIONS
 
     builders:
       - shell: |