16 Commits

Author SHA1 Message Date
Marc Abramowitz
9202e68107 Add additional yaml/xml tests, literalinclude them
instead of using inline examples in docstrings. With literalinclude, we
know the examples are tested.

Change-Id: I95fbb4726bd6731d9687d09a3d6e7d4e5a445131
2014-04-29 11:57:15 -07:00
Marc Abramowitz
a0dac0f4e7 Add more tests
Change-Id: Ie0e0e3906edaa278805917e6303b1d5f1daba864
2014-04-29 10:34:22 -07:00
Jenkins
2b2037d878 Merge "add tests for shell builder" 2014-04-29 08:43:37 +00:00
Alexandre Conrad
2ae9c25cef add tests for shell builder
Change-Id: I37350e7e813db173e033bd4131e62be77ab9753a
2014-04-26 18:07:34 -07:00
Alexandre Conrad
bd4bbaf3c0 add support for python builder
Change-Id: I0b1711c04435287bb851a72df25ebba10c891831
2014-04-26 18:04:44 -07:00
Jenkins
a9fb1bec14 Merge "Added support for Exclusion plugin" 2014-04-23 15:14:56 +00:00
Jenkins
abbf318c4d Merge "Enhance coverage for builder trigger-builds" 2014-04-21 23:46:26 +00:00
Brad P. Crochet
153fa6e2b1 Added support for Exclusion plugin
This plugin allows the specification of critical blocks for builders.
Once a set of builders is "wrapped" by a critical block start/critical
block end pair, any resources (string) specified in the exclusion build
wrapper will cause any jobs with those same resources to block and allow
only one of those builds to proceed at a time.

Change-Id: I0bf4ab003709917aa7fe6ad57b31200f466658da
2014-04-21 13:14:47 -04:00
Takeshi Kanemoto
005d9dc6b0 Allow 'Build on the same node' in trigger-builds builder
In `trigger-builds` builder, create the
'<hudson.plugins.parameterizedtrigger.NodeParameters/>'
element if 'same-node' parameter is set to 'true'.

This adds the configurability of the 'Build on the same node'
parameter.

Change-Id: I3b6fa0a50b74932ad9837c7b88835b8b0c9c23ec
2014-04-08 10:50:51 +09:00
Antoine Musso
1ccdae9c35 Enhance coverage for builder trigger-builds
Some options to the trigger-builds builder were not present in the test
fixture.  As a side effect that enhance our documentation.

Change-Id: Ic2755f76f02f7eba3842dc9a41f7db8907acda75
2014-04-05 22:37:39 +02:00
Victor Boivie
a2756a0038 triggered-builds: Support property file injection
Change-Id: I31091977560eabf5656aaa8706de5410d86d5caf
2014-04-04 12:58:53 +02:00
Gabriele Cerami
b400742224 Added support for python virtualenv plugin
Change-Id: Ie21699d43ff6331ae93cc83d8f9751ac683b43fa
2014-02-20 21:50:26 +01:00
Philippe Godin
3faf544887 Add best and worst status details for conditional-step plugin.
In order for the conditional step plugin to work properly, a more
detailed status is required otherwise the current build status is not
evaluated properly and is set to SUCCESS in all cases.
A local mapping of the java hudson.model.Result class was created to
unify build statuses names, ordinal and color scheme.

Change-Id: If8a0090b7cd51551ef6756361f6e45af3df1218d
2014-02-10 12:08:40 -05:00
Kei YAMAZAKI
604d39305b Fix multibyte character problem
Fixed problem that causes a UnicodeEncodeError when use multi-byte characters in the job.yml.

Change-Id: Ie715c827a794e73fae11cdca079ea80cfb8c280d
2014-01-21 22:34:30 +09:00
Max Rydahl Andersen
054b57145f add private-repository, java-opts, settings and global-settings to maven-target
Done to enable private repository for jobs making it more safe to
run concurrent maven builds and for allowing to control javavm and other
maven settings for maven build.

Includes moving doc example for maven-target as a test fixture.

Change-Id: Ic34958e9bf1008fbc71c45da85208ac1fda7aeb4
2013-12-09 22:53:44 +01:00
Khai Do
b790bbc681 update doc and add new JJB unit tests
Add documentation on how to generate documentation and run JJB unit tests.

Also added a unit tests for each category of plugins as examples for others
to follow when adding new JJB plugins.  I'm hoping this will help contributors
add tests for new plugins going forward.

Change-Id: I2ab90cdb37d0f3b1e947345d4291d2927b04a0c6
2013-11-22 17:51:17 +00:00