further details.
https://docs.openstack.org/developer/python-openstackclient/
-- parameter:
- name: patches-to-build-parameter
- parameters:
- - string:
- name: PATCHES_TO_BUILD
- default: ''
- description: |
- Ordered list of patches to build in the format of project=changeset (checkout) or
- project:changeset (cherry-pick) for example: genius=32/53632/9,netvirt:59/50259/47.
- A topic is also allowed, for example: topic=binding-tlc-rpc
-
-- parameter:
- name: build-order-parameter
- parameters:
- - string:
- name: BUILD_ORDER
- default: '{build-order}'
- description: 'Build order for multipatch test when topic is used'
-
-- parameter:
- name: build-fast-parameter
- parameters:
- - string:
- name: BUILD_FAST
- default: '{build-fast}'
- description: 'Set true to build fast -Pq'
-
-- parameter:
- name: run-test-parameter
- parameters:
- - string:
- name: RUN_TEST
- default: '{run-test}'
- description: 'Set true to run test after build'
-
- parameter:
name: distribution-branch-to-build-parameter
parameters:
send-to:
- recipients
-
-- builder:
- # Installs the openstack cli into a virtualenv at /tmp/v/openstack
- name: odl-openstack-install
- builders:
- - shell: !include-raw: odl-openstack-install.sh
-
-- builder:
- name: odl-openstack-check-image-protection
- builders:
- - shell: !include-raw: odl-openstack-check-image-protection.sh
-
-- builder:
- name: odl-openstack-cleanup-old-images
- builders:
- - shell: !include-raw: odl-openstack-cleanup-old-images.sh
-
-- builder:
- name: odl-openstack-cleanup-orphaned-nodes
- builders:
- - shell: !include-raw: odl-openstack-cleanup-orphaned-nodes.sh
-
-- builder:
- name: odl-openstack-cleanup-stale-nodes
- builders:
- - shell: !include-raw: odl-openstack-cleanup-stale-nodes.sh
-
-- builder:
- name: odl-openstack-cleanup-stale-stacks
- builders:
- - shell: !include-raw: odl-openstack-cleanup-stale-stacks.sh
-
-- builder:
- name: odl-openstack-cleanup-stale-volumes
- builders:
- - shell: !include-raw: odl-openstack-cleanup-stale-volumes.sh
-
-- builder:
- # Deploys a maven site to Nexus using lftools nexus-zip command
- name: opendaylight-infra-deploy-maven-site
- builders:
- - lf-provide-maven-settings:
- global-settings-file: global-settings
- settings-file: '{settings-file}'
- - lf-infra-create-netrc:
- server-id: opendaylight-site
- - shell: !include-raw-escape:
- - global-jjb/shell/lftools-install.sh
- - opendaylight-infra-deploy-maven-site.sh
- - lf-provide-maven-settings-cleanup
-
- builder:
name: opendaylight-infra-stack
# opendaylight-infra-stack.sh has a required variable {stack-template} that
builders:
- shell: 'if [ -d /tmp/r ]; then rm -rf /tmp/r; fi'
-- builder:
- name: provide-maven-settings
- builders:
- - config-file-provider:
- files:
- - file-id: '{global-settings-file}'
- variable: 'GLOBAL_SETTINGS_FILE'
- - file-id: '{settings-file}'
- variable: 'SETTINGS_FILE'
-
-- publisher:
- name: releng-openstack-stack-delete
- publishers:
- - postbuildscript:
- builders:
- - role: BOTH
- build-on:
- - ABORTED
- - FAILURE
- - SUCCESS
- - UNSTABLE
- build-steps:
- - shell: |
- #!/bin/bash -l
- echo "Deleting $STACK_NAME"
- openstack stack delete --yes "$STACK_NAME"
- mark-unstable-if-failed: false
-
- wrapper:
# This wrapper is required for all jobs as it configures the wrappers
# needed by OpenDaylight infra.