Commit Graph

2 Commits

Author SHA1 Message Date
Trevor Bramwell 3247ac488c Fix Postbuildscript Plugin Info Lookup
Between version 0.18.1 and 2.0, the longName of postbuildscript changed
from 'Jenkins Post-Build Script Plug-in' to 'Jenkins PostBuildScript
Plugin'. Because of this JJB>1.6.2 currently does not work with previous
usages of the postbuildscript macros, as the lookup never succeeds for
the plugin<2.0.

This change switches the 'get_plugin_info' call to query using the
shortName, which hasn't changed.

Change-Id: I51437a300993ed09c7419bd9fc70afd0e8629119
Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-04-13 10:40:13 -07:00
Thanh Ha 5579395bc3
Add support for PostBuildScript 2.x
Updates the PostBuildScript plugin to support the 2.x version which
had a major overhaul of the XML output for the plugin.

Change-Id: I9ff3161bc50be236013e32f3ca9ad81b38004dc8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2018-02-13 10:35:46 -05:00