-
-- job-template:
- name: builder-openstack-cron
- project-type: freestyle
- node: '{build-node}'
- concurrent: true
-
- properties:
- - lf-infra-properties:
- build-days-to-keep: 7
-
- parameters:
- - lf-infra-parameters:
- project: '{project}'
- stream: '{stream}'
- branch: '{branch}'
- lftools-version: '{lftools-version}'
- - string:
- name: OS_CLOUD
- default: '{os-cloud}'
- description: |
- The name of a cloud configuration in clouds.yaml. OS_CLOUD is a
- variable name that is significant to openstack client as a
- environment variable. Please refer to the documentation for
- further details.
- https://docs.openstack.org/developer/python-openstackclient/
- - string:
- name: ARCHIVE_ARTIFACTS
- default: '{archive-artifacts}'
- description: Artifacts to archive to the logs server.
- - string:
- name: JENKINS_URLS
- default: '{jenkins-urls}'
- description: 'Space separated list of Jenkins URLs to check for active builds'
-
- scm:
- - git-scm:
- branch: '{branch}'
-
- wrappers:
- - lf-infra-wrappers:
- build-timeout: '{build-timeout}'
- jenkins-ssh-credential: '{jenkins-ssh-credential}'
- # Listed after to override openstack-infra-wrappers clouds.yaml definition
- - config-file-provider:
- files:
- - file-id: clouds-yaml
- target: '$HOME/.config/openstack/clouds.yaml'
- - file-id: npmrc
- target: '$HOME/.npmrc'
- - file-id: pipconf
- target: '$HOME/.config/pip/pip.conf'
-
- triggers:
- - timed: '0,30 * * * *'
-
- builders:
- - lf-infra-pre-build
- # Servers
- - odl-openstack-cleanup-stale-stacks
- - odl-openstack-cleanup-stale-nodes
- - odl-openstack-cleanup-orphaned-nodes
- # Volumes
- - odl-openstack-cleanup-stale-volumes
- # Images
- - odl-openstack-check-image-protection
- - odl-openstack-cleanup-old-images
-
- publishers:
- - lf-infra-publish
-