1501 Commits

Author SHA1 Message Date
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
Jenkins
15e06f9586 Merge "delivery-pipeline: support task description template" 2015-12-12 16:40:19 +00:00
Jenkins
2b732a4cc6 Merge "document workspace-cleanup wrapper "dirmatch" default" 2015-12-12 16:36:28 +00:00
Jenkins
d87e67c17c Merge "builders: fix mavenName sorting with py35" 2015-12-11 17:38:23 +00:00
Jenkins
0d0474eabe Merge "Add support for cucumber reports plugin" 2015-12-11 17:34:17 +00:00
Dong Ma
c3c51845ad Add support for cucumber reports plugin
This plugin creates pretty cucumber-jvm html reports on jenkins

Change-Id: Ia9673a8d290bd37bd38a7c3ab3545c751128f4c2
story: 2000226
2015-12-11 23:20:57 +08: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
Ken Dreyer
3da4f35efc document workspace-cleanup wrapper "dirmatch" default
If the user does not specify a "dirmatch" setting to JJB when using the
workspace-cleanup wrapper, JJB will default the "dirmatch" setting to
False.

Update the docs to describe this default. (This matches the post-build
workspace-cleanup publisher's docs.)

Change-Id: Ib4aa26f68a128038a70b88ccf0d8ba798614d5c5
2015-12-10 16:32:29 -07:00
Jenkins
5fe5b6089d Merge "Add flatten and encryption support to s3 publisher" 2015-12-09 23:12:32 +00:00
Ken Dreyer
08a08db7b3 builders: fix mavenName sorting with py35
On Fedora 24, the mavenName vs group XML is sorted differently depending
on whether we're using Python 3.5 or Python 2.7. This was causing the
test to fail on Python 3.5.

Avoid relying on the dict sort behavior. Since there are only two XML
elements, write each one explicitly.

Change-Id: I53f88e53d7fc4d81e325b341b9444c4950044565
2015-12-09 11:17:27 -07:00
Jenkins
c62b0a10d0 Merge "Correct the entry points of cucumber-testresult" 2015-12-09 16:13:11 +00:00
Jenkins
cff0dc21c6 Merge "Fix pollscm backwards compatiblity" 2015-12-09 13:10:47 +00:00
Darragh Bailey
9504ef661e Standardize builders docstrings and remove '\'
Standardize the docstrings as much as possible in the builders module to
provide good working examples to be followed. Remove unnecessary use of
'\' to reduce copy 'n' paste and convert last remaining inline example
to unit test and include inline into docstring.

Change-Id: I02fe217f3a122aaac4d770e638011144236285cb
2015-12-07 13:00:14 +00:00
Jenkins
9830b00a48 Merge "Revert "Add support for "tox" builder"" 2015-12-04 09:29:24 +00:00
Andreas Jaeger
69fd9e4d6c Revert "Add support for "tox" builder"
This change breaks our run-tox usage, see the compare-xml output.

This reverts commit 2de4ba8a8129365991fcabcc16ca8e91b08ed8e1.

Change-Id: I5ee2afd4f15d22d43eb78fe3086109fabb550e36
2015-12-04 09:13:59 +00:00
Dong Ma
db030d2563 Correct the entry points of cucumber-testresult
The entry point cucumber_testresult is incorrect given the style
adopted for all the other entry points, it should be:

cucumber-testresult=jenkins_jobs.modules.publishers:cucumber_testresult

Change-Id: I60fcecb667cb5aa626e9ca7b9dcaa3dba3122cfa
2015-12-04 09:16:40 +08:00
Will Soula
c72cf731ef Fix pollscm backwards compatiblity
This change https://review.openstack.org/#/c/211993/ made '' an
invalid attribute value for pollscm, but that is a valid value.  We use
'' for pollscm with the option to build when a changed is pushed to
github.  This might have changed since we set it up, but you had to
specify a blank poll schedule for jenkins to build on pushes to github.
This changes allows '' as a valid value.

Change-Id: I35c45b4619584b3358562131399fc5ef16c4c5ec
2015-12-03 19:12:18 -06:00
Jenkins
b96d18a9ba Merge "Add regexp option to conditional publisher" 2015-12-03 18:42:26 +00:00
Jenkins
4b0f03017a Merge "Add support for "tox" builder" 2015-12-03 18:38:37 +00:00
Jenkins
cb8484cf20 Merge "Add support for the RunDeck plugin" 2015-12-03 18:37:13 +00:00
Jenkins
ffc5632a4e Merge "Add MultiJob Project Documentation." 2015-12-03 05:08:28 +00:00
Jenkins
2ffffacebf Merge "fix default handling of script-file-path" 2015-12-03 05:04:39 +00:00
Jenkins
91a2fd0117 Merge "add support for NodeJS Plugin" 2015-12-03 05:03:45 +00:00
Jenkins
93fc5869e1 Merge "Add support for runscope plugin" 2015-12-03 05:03:02 +00:00
Jenkins
db887b10d0 Merge "useMatrixChild support in parameterized trigger" 2015-12-03 05:01:47 +00:00
Jenkins
daf8be4480 Merge "Debug message leads to (n*m) log growth." 2015-12-03 04:59:49 +00:00
Jenkins
cb4dc421af Merge "Document the new {template-name} variable" 2015-12-03 04:42:59 +00:00
Jenkins
23ea7df7d2 Merge "Adding support for monitoring files using FSTrigger Plugin" 2015-12-02 23:08:19 +00:00
Denis Laxalde
2de4ba8a81 Add support for "tox" builder
This builder uses the ShiningPanda plugin. It is implemented as a "tox"
builder independent of the "shining-panda" one since the latter defines
"common" arguments (such as `nature` or `command`) that do not apply to this
tox builder.

Change-Id: I99c1fdad392d41deb9c8fdd5c3617bb10860ac39
2015-12-02 08:42:26 +01:00
Jonathan Lebon
d08ef26bbf Document the new {template-name} variable
Doc change only to document the {template-name} variable added in commit
7ef05f7.

Change-Id: I88cfd14e2fa642fd4d6b9ac8d002c17fb8ef7dd9
2015-12-01 10:56:07 -05:00
nextrevision
d8d003514b Add regexp option to conditional publisher
Allows for use of regular expression conditions in the conditional
publisher plugin. Exposes two new fields: condition-expression and
condition-searchtext.

Change-Id: Ib752d686f009ca5687956622e22ee466c6791695
2015-11-26 13:42:57 +08:00
Devon Peters
7ee3cc1ceb Add support for the RunDeck plugin
Change-Id: Ic324af03e3c4a110f34041c71ce0cecb7b474560
2015-11-26 00:21:10 +08:00
Jenkins
440cc0d12f Merge "Added support for the workflow job type" 2015-11-24 23:09:14 +00:00
David Caro
9477275592 Added support for the workflow job type
There's a relatively new workflow plugin, based on the old build flow
one

Change-Id: I5541443e15335839754afee59f1b74ed29ce6676
Signed-off-by: David Caro <dcaroest@redhat.com>
2015-11-24 21:18:45 +01:00
James E. Blair
7ef05f7373 Add template-name as a variable that can be used in a template
In complex configurations it may be useful to have a template
print out its name so that a given job can be easily traced to
its definition.

Change-Id: I1cfed9c27a58b45ba48aeed04839bfc8f54a831e
2015-11-24 07:47:26 -08:00
Jenkins
294dea66b2 Merge "Option to mark build as unstable in PostBuildScript publisher" 2015-11-23 18:22:33 +00:00
Michael Jeanson
2f410fe225 Add 'do-not-fingerprint' to 'copyartifact' builder
Change-Id: I5fa1fa8ac1e1e932f91f2428f41f5675f72f27a6
Story: 2000340
2015-11-19 17:16:20 -05:00
Wayne Warren
43cfc27360 Debug message leads to (n*m) log growth.
Where n = number of variables in scope for a particular job template instance.
and   m = number of job template instance.

Let's imagine for a large set of jobs with n = 100 and m = 50

This debug message makes it difficult to scan through JJB output looking for
signficant debug messages and does not provide a clear value.

It is trivially easy to know which variables are and which are not included in a
job-template's name by simply reading it.

Change-Id: I745e26ac6062277fc477cb1ca70cf2809f5806e3
2015-11-17 16:03:28 -08:00
Sergey Yudin
231883819a Option to mark build as unstable in PostBuildScript publisher
Change-Id: I0c0817397e22ef585e5ba4be4b038395b6d21b3d
2015-11-16 19:58:37 +00:00
Jenkins
6b3beb965c Merge "Add support for Rebuild Plugin" 2015-11-16 01:00:56 +00:00
Jenkins
45e9526826 Merge "Fix the wrong info in docs about default slave param" 2015-11-16 00:55:23 +00:00
Jenkins
8be9653a20 Merge "Allow deep formatting of macro parameters" 2015-11-14 20:48:29 +00:00
Jenkins
511c3ad577 Merge "builder.py: fix potential race condition" 2015-11-14 06:46:06 +00:00
Justin Stoller
bf88fe32c1 Allow deep formatting of macro parameters
Prior to this patch macros serialized into a yaml document, a simple string
substitution was applied and then they were re-loaded into python. This
created several problems:
 - newlines are lost because the yaml loading was not respecting the
   newline settings of the original strings (Story: 1387060)
 - {obj:} notation was not working for macro parameters (Story: 2000254)
 - multiline strings passed into scripts will create a yaml syntax error
   when being re-loaded (unticketed)

This patch resolves these problems by replacing the previous interpolation
code with the more robust `deep_format` method. A side effect of this patch
is that there are now fewer disparate code paths for interpolating variables.

Change-Id: Ia06c98286537a50dc52c6e5e000b32ebc9e8ede2
Signed-off-by: Justin Stoller <justin.stoller@gmail.com>
2015-11-13 10:57:36 -08:00
Jenkins
e5ee0ce002 Merge "publishers: xunit doesn't accepts integers as threshold" 2015-11-12 19:03:02 +00:00
Jenkins
4eb33b2595 Merge "Make git.timeout parameter set clone timeout too." 2015-11-12 19:00:11 +00:00
Lukas Bednar
1cf55db557 publishers: xunit doesn't accepts integers as threshold
* Accept integers for threshold
 In documentation is written that threshold should be integer.
 But it fails with integer to generate XML.
 Only case when it pass is for 0, because XML formatter consider it as
 empty body and do not format it.

* Fix documentation for missing threshold field, plus test.
 In documentation it says that missing threshold is set to 0, but apparently
 it is set to Null (empty field), and it has different behaviour than for 0
 value.

Change-Id: I326cbadd955c4c28f315fa72293d9a54a116b140
2015-11-12 14:51:58 +01:00
Jenkins
78411048f6 Merge "Fix the artifactory plugin docs due to extra whitespace" 2015-11-11 22:55:43 +00:00
hayderimran7
fbcaa154bf Fix the wrong info in docs about default slave param
The docs say to use default-node while the code checks for
default-slaves. This results in no actual output if you
specify default-node in your job config. Changing to
default-slaves fixed the issue because thats what code is 
actually checking.

Change-Id: Ifadfbe3f2c3ad027b348acdd00058109811ba232
2015-11-11 22:54:19 +00:00
Tomas Bezdek
383d4250f0 add support for NodeJS Plugin
Change-Id: I583b6e8cac8b7bfe086e7f16e2989db3d50a6054
2015-11-10 21:46:00 +00:00