Revert plugin listing print change 06/16006/7 v0.25.1
authorAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 26 Jun 2019 20:23:59 +0000 (13:23 -0700)
committerAndrew Grimberg <agrimberg@linuxfoundation.org>
Wed, 26 Jun 2019 22:04:27 +0000 (15:04 -0700)
Change 5df955f24bc0154f7069ecfc188311052e67febc had a minor change that
slipped through the code review changing the Jenkins plugin listing from
long names to using the short names. This however, is not utilized at
all by the security listing function that was the primary portion of
this change.

This modification causes the jenkins configuration management merge job
to fail on updates to the OpenStack cloud configuration.

Change-Id: I04cfbfe5a49904875a734e223bda13c6164df664
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
lftools/cli/jenkins/plugins.py
releasenotes/notes/revert-plugin-list-change-0686578ef029edcc.yaml [new file with mode: 0644]

index 283da21..f55d982 100644 (file)
@@ -22,8 +22,8 @@ def checkmark(truthy):
     return u'\u2717'
 
 
-def print_plugin(plugin, namefield='shortName'):
-    """Print the plugin shortName and version."""
+def print_plugin(plugin, namefield='longName'):
+    """Print the plugin longName and version."""
     print("%s:%s" % (plugin[namefield], plugin['version']))
 
 
diff --git a/releasenotes/notes/revert-plugin-list-change-0686578ef029edcc.yaml b/releasenotes/notes/revert-plugin-list-change-0686578ef029edcc.yaml
new file mode 100644 (file)
index 0000000..86ea5ac
--- /dev/null
@@ -0,0 +1,7 @@
+---
+critical:
+  - |
+    A problem was found with the Jenkins OpenStack cloud configuration job
+    routines that were relying on the long name form of installed plugins. As
+    the long name form is more human friendly we are reverting to that
+    configuration.