38 Commits

Author SHA1 Message Date
Kien Ha
673927e5e9 Update Delivery Pipeline plugin to use convert xml
- Add plugin="delivery-pipeline-plugin" attribute
- Rename test files to be more descriptive

Change-Id: I9db5315e425da6bd5c69b533c79d6d5ab4ed1e70
Signed-off-by: Kien Ha <kienha9922@gmail.com>
2016-07-27 22:01:34 -04:00
Jenkins
6c9d8ccb0c Merge "Properties: fix copyartifact permissions with several projects" 2016-07-01 14:54:09 +00:00
Lucas Dutra Nunes
5548ac51d7 Properties: fix copyartifact permissions with several projects
The copyartifacts property on Jenkins requires that the config XML
provide an string element for each allowed project. On JJB the
documentation says that the projects needed only to be comma-separated,
however JJB is not doing the job separation.

Parsing the projects string, spliting it by commas and then adding it to
a different string element solves this.

Change-Id: I59d8b2c070f28df4cfa9da0ab58f2c57e4243384
Signed-off-by: Lucas Dutra Nunes <ldnunes@ossystems.com.br>
2016-06-28 17:48:53 +00:00
Christian Fetzer
0d4d20742a Add support for GitLab notifier and connection property
Adds a gitlab-notifier publisher that allows to set the commit status
on GitLab. The GitLab connection is specified using a property.

Reference: https://github.com/jenkinsci/gitlab-plugin/pull/229

Change-Id: I45b4ec2e3c5ff08922270c5c0539d4ee2086a752
2016-06-16 07:11:00 +02:00
Tomas Bezdek
c2f72651d4 slack notifications on repeated failure
Change-Id: I248f279fb30865641c64db260cae9e2f95f4e9f7
2016-03-09 15:12:08 +00:00
Jenkins
8c03c692ec Merge "Add support for credentials properties in authorization matrix" 2016-03-09 13:13:30 +00:00
David Caro
1cf271a96e Adding the build-discarder property
This deprecates the logrotate generic element of the jobs, as it's not
supported anymore on jenkins>1.637, see:

    1cbbb23923

Change-Id: Ib086aef43e4833855b5827ad0ed3310e8db7d7b9
Signed-off-by: David Caro <dcaroest@redhat.com>
2016-03-02 12:17:45 +01:00
Jenkins
d36262728b Merge "* Added support for the Jenkins Slack plugin" 2016-02-29 21:22:08 +00:00
Michael Jeanson
97635cfbdd Add matrixOptions to throttle properties module
Change-Id: Id5021ed55a45ca951b9a24f5790f4a7313b1dff1
2016-01-21 14:43:14 +00:00
Benjamin Koep
7e02657f85 * Added support for the Jenkins Slack plugin
Change-Id: I0e8d81134d71191a6f0fa3a780f32a06f012969a
2016-01-13 16:12:18 +01:00
Arnold Bechtoldt
43b776225b
Add support for credentials properties in authorization matrix
- Re-organize permissions alphabetically
- Add job-status and job-move permissions

Change-Id: I8712a367122f6fadcaf62d4b4f144beab981bed8
Co-Authored-By: Thanh Ha <thanh.ha@linuxfoundation.org>
Co-Authored-By: Max Kovgan <kovganm@gmail.com>
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2016-01-11 12:15:41 -05:00
Jenkins
cae174f5f8 Merge "Standardize docstrings for properties module" 2016-01-11 16:48:17 +00:00
Darragh Bailey
8805a34c0f Reorder imports to match hacking guidelines
Ensure that the imports follow the standard OpenStack hacking
guidelines.

Change-Id: Iaa4326aef118ddfd807dd006934f1d9ca80a1cfa
2015-12-23 15:23:42 -08:00
Darragh Bailey
a796a593dc Standardize docstrings for properties module
Move remaining examples to unit tests, remove unnecessary '\' and align
docstrings to the predominate standard throughout the project.

Fix broken authenticated-build highlighted by the added unit test.

Change-Id: Ic9700f587073946be17be543920a4a3ed7cd19d0
2015-12-12 19:01:10 +00:00
Guido Günther
65b868a0b6 delivery-pipeline: support task description template
as documented in

    https://github.com/Diabol/delivery-pipeline-plugin/pull/138

Change-Id: Ic6d7e54ea55c235deeb80240bb5c10e84bcff30d
2015-12-11 08:45:14 +01:00
Tomas Bezdek
86374bab15 Add support for Rebuild Plugin
Change-Id: I3b23dbf66d211797af8735f211df9509eac95a3d
2015-11-10 21:42:52 +00:00
Jenkins
3f0ff2dff6 Merge "Capture logs with FakeLogging Fixture" 2015-10-07 16:52:54 +00:00
Darragh Bailey
9bfbffa559 Capture logs with FakeLogging Fixture
Capture logs to attach them on exceptions to simplify the debugging of
errors in tests when they occur.

Change-Id: I5c1b5c306aba37789a8d41eabf65e0ac628af838
2015-09-30 16:25:22 +01:00
Joao Vale
1fa03d658d Add new parameters to Build Blocker example / test.
Change-Id: I328b9b2cedcf7f459ff3cbd3940db950e38e4fc0
2015-09-14 17:54:06 +00:00
Joao Vale
f47851612a Add support for blocking-level and queue scanning to Build Blocker plugin.
Change-Id: I0d2b2cc4a52ec47c101921a4a69c93b747f2ff5d
2015-09-03 16:50:19 +01:00
Darragh Bailey
e5738d0852 Allow whitespace to be significant
Remove the test options suppressing ignoring differences in whitespace
outputted in the XML to allow capturing of issues where the code
incorrectly adds or removes significant whitespace.

Add a helper function to deal with the edge case of parsing XML directly
that contains non significant whitespace to avoid accidentally adding
excess whitespace when minidom outputs the resulting document.

Change-Id: I9936042cd82c204ba2b3c19f575703e33564f7fd
2015-08-11 18:31:48 +01:00
Holger Levsen
d1e4168594 Adding support for Sidebar Plugin
<https://wiki.jenkins-ci.org/display/JENKINS/Sidebar+Plugin

You can find the original version of this patch here:
  c5ea266856

Update to the original author's patch is limited to moving the one line
from setup.py to setup.cfg, fixing some pep8 errors, and adding a unit test.

It is being submitted upstream with Holger's approval, because he doesn't
have the time available to do it himself.

Change-Id: I75ffedeaafab3aea4eb1b172a980d625669fdacc
Co-Authored-By: Philip Hands <phil@hands.com>
2015-07-10 21:41:44 +01:00
Ilia Meerovich
687d9f94eb Adding unittest to ownership property
Change-Id: I800001c651ed7db7e0c865e8f859e2d80cbc42e2
2015-06-15 11:00:08 +03:00
David Pursehouse
cfef27280b Add support for "Override Build Parameters" option in EnvInject
Change-Id: I4f0c9949f1141ccf93ea86d6cdaec6cce7e6ac4d
2014-10-22 12:26:19 +08:00
David Pursehouse
9ca0e3c2a6 Add tests for properties inject
Replace hard-coded inject example with a literal include. Extend the
example to show how to pass two environment variables.

Add test fixtures for the keep-system-variables and keep-build-variables
parameters.

Change-Id: Ie3b5af2c38f8dde5ff739b9f6b213c1e94387aca
2014-10-22 12:25:52 +08:00
Fathi Boudra
c6c81a2965 authorization property: add extended read support
This authorization requires the extended read permission plugin:
https://wiki.jenkins-ci.org/display/JENKINS/Extended+Read+Permission+Plugin

Include test for the authorization properties.

Change-Id: I9364524398f4e3f0d6ccccd88d5046e7504e2123
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2014-06-02 07:39:25 +03:00
Jenkins
eead2784f6 Merge "Add support for Copy Artifact project copy permissions" 2014-04-09 16:08:17 +00:00
Jason Kincl
01ec946812 Add support for Copy Artifact project copy permissions
Since 1.30, Copy Artifact supports specifing the projects that are allowed
to copy artifacts for a given project in the general job properties.

Change-Id: I5a9de21f449e98d08ec9303d55021d6a661257d4
2014-04-09 08:06:13 -04:00
Benjamin Staffin
dd14a86a9b Add support for Slave Utilization plugin
Change-Id: I4243fddf2f08a09671757b503fae2a890f2d820e
2014-03-28 01:33:59 -07:00
Sergey Kolekonov
7d11c704ef ZMQ Event Publisher plugin support added
This is a Jenkins plugin that will publish Jenkins Job run events
(start, complete, finish) to a ZMQ PUB socket.

Change-Id: Id238033796e6905e18a777fc85c789ff6cf4f59d
2014-03-12 06:50:00 +00:00
Patrik Boström
b4b0b9d9ab Added support for Delivery Pipeline Plugin
Change-Id: I54cfa9153700e141d8ba78c881998553b8081658
2014-02-26 17:14:35 +01:00
Jenkins
07fa712f50 Merge "Added support for least load plugin." 2014-02-22 06:53:27 +00:00
David Johansen
69357d4e30 Added support for least load plugin.
Change-Id: I0c0c9a23e97101f34f144f63e8f9a81f1ac172f9
2014-02-20 01:14:51 +00:00
Sergey Kolekonov
53c41a0e5f Heavy Job Plugin support added
This plugin allows you to define "weight" on each job,
and making each job consume that many executors

Change-Id: Iee49229b0d3c909f320caa9bd6c1ebb6bc37ddcb
2014-02-13 13:09:30 +04:00
Kei YAMAZAKI
321fa47ef6 Added support for Builds chain fingerprinter
Change-Id: I11429534a82587e7cbbd987ecce148b07a5ace47
2014-02-02 15:37:38 +09: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
Jaroslav Henner
2cad551ce5 Add support for batch_tasks.
Change-Id: I6cb6050322f07e90eadff88acab61c9ed66221fe
2013-12-04 23:19:11 +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