- job-template:
    name: 'cloud-mkcloud{version}-job-magnum-{arch}'
    node: cloud-trigger

    triggers:
      - timed: 'H H * * *'

    logrotate:
      numToKeep: 7
      daysToKeep: -1

    builders:
      - trigger-builds:
        - project: openstack-mkcloud
          condition: SUCCESS
          block: true
          current-parameters: true
          predefined-parameters: |
            TESTHEAD=1
            cloudsource=develcloud{version}
            nodenumber=3
            nodenumbercompute=2
            want_magnum=1
            want_ceph=0
            ostestroptions= --regex '^magnum.tests.functional.api'
            mkcloudtarget=all
            label={label}

- job-template:
    name: 'cloud-mkcloud{version}-job-magnum-{arch}'
    node: cloud-trigger

    triggers:
      - timed: 'H H * * *'

    logrotate:
      numToKeep: 7
      daysToKeep: -1

    builders:
      - trigger-builds:
        - project: openstack-mkcloud
          condition: SUCCESS
          block: true
          current-parameters: true
          predefined-parameters: |
            TESTHEAD=1
            cloudsource=develcloud{version}
            nodenumber=3
            nodenumbercompute=2
            want_magnum=1
            storage_method=none
            ostestroptions= --regex '^magnum.tests.functional.api'
            mkcloudtarget=all
            label={label}

Fix storage method for magnum job
Fix storage method for magnum job

want_ceph shouldn't be used anymore in Jenkins (you can still use it when you
run mkcloud locally). But Jenkins has a variable called "storage_method" which
is implemented in the openstack-mkcloud trigger job. And depending on the value
this variable overrides want_ceph and want_swift when the openstack-mkcloud
trigger is used.
