Support OpenStack Cloud Jenkins plugin upgrade 69/62369/5
authorDW Talton <dtalton@contractor.linuxfoundation.org>
Thu, 21 Nov 2019 00:11:42 +0000 (17:11 -0700)
committerAric Gardner <agardner@linuxfoundation.org>
Mon, 25 Nov 2019 20:24:26 +0000 (15:24 -0500)
commitca9a5629fcf0b5def183d2a88a0091f92df5781b
tree3b8a960b08d99695eef453a84a40bf7282712402
parent9424c8da8763456069c524776357f6e6da4bed38
Support OpenStack Cloud Jenkins plugin upgrade

Version 2.47+ of the OpenStack Cloud plugin for Jenkins adds two new
SlaveOptions params, node_properties and config_drive. Failure to send
these params results in a failed request.

Replace method version_ge with testversion for plugin version
comparisons. Needed to enable deprecation and future plugin version
checking.

Refactor get_minion_options, replacing duplicated code blocks with if
checks.

Deprecate INSTANCE_MIN_CAPMAX config param, to be replaced with
INSTANCE_MIN, for configuring the minimum number of instances.

Issue: RELENG-2514
Signed-off-by: DW Talton <dtalton@contractor.linuxfoundation.org>
Change-Id: Ic8773bd4ef44ea09b5635c4a84d6452e29ad777c
releasenotes/notes/jenkins-configure-clouds-b0893c073c7a95e9.yaml [new file with mode: 0644]
shell/jenkins-configure-clouds.sh