2092 Commits

Author SHA1 Message Date
Dong Ma
33fc571832 Update robot plugin
- update robot plugin to convert xml
- update docstring
- update test cases
- add plugin="robot" attribute

Change-Id: I350d99beca71fcb6932491b3709ee2b6d89ca642
2016-12-05 06:19:47 -08:00
Dong Ma
08113e362a Update rich-text-publisher plugin
- update rich-text-publisher plugin to convert xml
- add plugin='rich-text-publisher-plugin'
- update docstring
- update test cases

Change-Id: I771b4dcc09b598c193416ce3f3ba48597dc5efad
2016-12-05 06:19:47 -08:00
Jenkins
83114faba6 Merge "Use standard python method naming for xml_config methods" 2016-12-02 18:47:40 +00:00
Jenkins
441f4d51fe Merge "Ensure keep is an iterable" 2016-12-02 18:41:50 +00:00
Jenkins
a45e337edd Merge "Rename JenkinsManager tests" 2016-12-02 18:41:25 +00:00
Jenkins
f799645023 Merge "Support default string values for variables" 2016-12-02 18:22:23 +00:00
Jenkins
8a1c91327e Merge "Test stream no encoding bug" 2016-12-01 06:58:59 +00:00
Jenkins
9ca18e961e Merge "Add convenience function for plugin namespace" 2016-12-01 06:48:15 +00:00
Jenkins
6655f549b8 Merge "Enable and fix xml_config tests" 2016-12-01 06:38:37 +00:00
Jef Mallal
6061bc97c6 Fix plot publisher tests
Change-Id: Ic76ddc26478346c07f3927b44876d581273e7b8f
2016-11-21 11:52:07 -07:00
Darragh Bailey
b36474bfae Enable and fix xml_config tests
Insert missing __init__.py to ensure xml_config tests run and update
call to `expandYaml` to handle multiple item return.

Change-Id: I8e409126556196f09a348d98a39ae9ca16245860
2016-11-21 13:56:33 +00:00
Jenkins
47d328d756 Merge "Update the docstring of join plugin" 2016-11-18 18:53:21 +00:00
Jenkins
9dc5b85f64 Merge "Adds height and width support to the Plot Publisher" 2016-11-18 18:51:47 +00:00
Jenkins
8da095972d Merge "Update performance plugin" 2016-11-18 18:50:12 +00:00
Jenkins
5744e5f287 Merge "Remove dead tool jenkins-jobs.py" 2016-11-18 18:49:48 +00:00
Dong Ma
bda7d492c5 Update the docstring of join plugin
Change-Id: Ic1f6eda83eb07dbe55216d699dad4969f3082578
2016-11-14 18:01:16 -08:00
Darragh Bailey
bfb18520e6 Ensure keep is an iterable
If no value is provided for 'keep' when calling delete_old_managed,
ensure a default empty iterable is used to prevent an exception.

Change-Id: I3110f8e03e287a6ff067b992ed8631e34121a8d2
2016-11-14 13:40:03 +00:00
Darragh Bailey
949a3a61e1 Rename JenkinsManager tests
Change-Id: I3d372dd4697e65ba6a539d1e04c54a7d0143f62e
2016-11-14 13:16:57 +00:00
Darragh Bailey
76c4441e8a Use standard python method naming for xml_config methods
Limit use of double underscore (or 'dunder') methods to python magic or
where it is an intention to avoid namespace collisions for classes
intended to be sub-classed.

An example were this would be applicable is a mixin class adding
memoisation to all methods would need to avoid namespace collisions
should it be added to a class intended to be sub-classed, and so for
any methods it uses to help manage the memoisation it should use
name-mangling to avoid them being accidentally overridden.

Change-Id: I0fe1e438687b23e2f0e1cef5229eef92e1a652ad
2016-11-14 12:07:21 +00:00
Dong Ma
0bdd819969 Update jabber plugin
- update jabber plugin to use convert xml
- add plugin="jabber" and plugin="instant-messaging" attribute
- update test cases
- add new notification strategy option

Change-Id: I221f75f30e611ca206041be6f9a86e4075f6bb8d
2016-11-13 19:23:05 -08:00
Drew Rothstein
dff22236d4 Adds height and width support to the Plot Publisher
Height and width are supported by the Plot Plugin today but
not made available in the Publisher.  This adds support for
both with the same defaults that exist in the plugin.

This allows users to configure a height and width as desired.

Change-Id: I1846e73d2fc3f6a9f651646b74cd3af6f85aee6d
2016-11-13 09:32:21 -08:00
Darragh Bailey
146d285eb9 Support default string values for variables
Provide syntax support for specifying default values to be substituted
for variables during deep_format when no other replacement is provided.

Allows for individual variables to have a default or be optionally blank
should nothing be placed after the custom specifier.

Change-Id: Ib97a33a2bbca123791d4ca6ef5248ed200992565
2016-11-11 21:38:28 +00:00
Thanh Ha
b093fee501
Add convenience function for plugin namespace
Plugins can use get_plugin_config() which will search in a plugin
namespace. For example:

[plugin "hipchat"]
authtoken = 123token

- Updated hipchat plugin to use get_plugin_config()
- Updated stash plugin to use get_plugin_config()
- Backwards compatibility is kept by falling back to the old
  configuration setting if the new one is not found.
- Warning is displayed if the old configuration method is used.

Change-Id: I7cff063e2d179a5d9a3f221c85de6864382bc477
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-11-11 13:34:16 -05:00
Jenkins
e47f9629bc Merge "Add view management functionality" 2016-11-10 16:35:23 +00:00
Jenkins
d80387a308 Merge "Improve logger output for expanding templates" 2016-11-10 16:35:02 +00:00
Jenkins
d5a60242a9 Merge "Support lazy resolving of include yaml tags" 2016-11-02 12:29:08 +00:00
Jenkins
f0c99b70a7 Merge "user's input should not be interpreted" 2016-10-27 20:59:03 +00:00
Isaac Beckman
4b63891dd7 user's input should not be interpreted
using python's "input" rather than "raw_input" raise exception
since the user's input is interpreted.
In python 3.x raw_input = input, so the interpertation bug
only exists in python 2.x

Change-Id: I28781a8742d6e03bc850fd0178f317474603a9d2
2016-10-26 13:03:30 +03:00
Jenkins
771a94227c Merge "Regression test for update command with --delete-old" 2016-10-25 18:08:09 +00:00
Dong Ma
4f183cdb1b Update performance plugin
- update performance plugin to use convert xml
- add new parameters for performance plugin
- update test cases
- add plugin="performance" attribute

Change-Id: Ice3420d3413d85daf4e6f678011382788e2bdd97
2016-10-23 21:56:39 -07:00
Jenkins
d91acfcb45 Merge "Update cucumber-testresult plugin" 2016-10-21 11:58:53 +00:00
Jenkins
fc1bb568f4 Merge "Update cppcheck plugin" 2016-10-21 11:58:46 +00:00
Jenkins
9c981a1be2 Merge "Adding nexus-artifact-uploader plugin" 2016-10-21 11:52:06 +00:00
Jenkins
bbb9c8d033 Merge "Update build-discarder to use convert xml" 2016-10-21 11:41:35 +00:00
Jenkins
802b71d618 Merge "Update scp plugin" 2016-10-21 11:35:10 +00:00
Jenkins
6c410a25a3 Merge "Update disable-failed-job to use convert xml" 2016-10-21 11:32:18 +00:00
Jenkins
425eeb7491 Merge "Update xunit plugin" 2016-10-21 11:32:12 +00:00
Jenkins
fc7ede077a Merge "Add support for Sonar wrapper" 2016-10-21 11:31:29 +00:00
Jenkins
383a567d66 Merge "Update jdepend to use convert xml" 2016-10-21 11:31:23 +00:00
Jenkins
64355ba426 Merge "Update FSTrigger plugin" 2016-10-21 11:29:45 +00:00
Jenkins
88ca8479f9 Merge "Add GitBucket plugin support" 2016-10-21 11:20:47 +00:00
Jenkins
21528b0179 Merge "Update xvfb to use convert xml" 2016-10-21 11:20:11 +00:00
Jenkins
401fc44468 Merge "Add support for FTP-Publisher plugin" 2016-10-21 11:19:13 +00:00
Jenkins
fd3026344b Merge "Update rebuild plugin to use convert xml" 2016-10-21 11:18:22 +00:00
Jenkins
3062a8b2d2 Merge "Add display-name option to github plugin" 2016-10-21 11:16:46 +00:00
Jenkins
6232f7fa5c Merge "Update properties.slack to use convert xml" 2016-10-21 11:15:56 +00:00
Jenkins
0b20c46077 Merge "Update TestNG to use valid_dict property of convert xml" 2016-10-21 11:09:33 +00:00
Jenkins
d4506b5d06 Merge "Not limit stevedore to 1.8.0" 2016-10-21 11:09:23 +00:00
Jenkins
0628b6da60 Merge "Update sbt plugin to use convert_mapping_to_xml" 2016-10-21 11:05:19 +00:00
Jenkins
61d7231e27 Merge "Update Grails plugin to use convert xml" 2016-10-21 11:04:58 +00:00