1023 Commits

Author SHA1 Message Date
Jenkins
c492c0b99b Merge "builders: add cmakebuilder plugin support" 2015-02-02 19:44:38 +00:00
Jeremy Stanley
fbd432a0ad Use mock in a Python 3.4 compatible way
Related to https://code.google.com/p/mock/issues/detail?id=234

Change-Id: I85549fdba7b9cb575850a12d52e1ffb0d2dba8c0
2015-01-29 23:07:53 +00:00
Jenkins
7ba4f6060c Merge "fix project matrix doc rendering" 2015-01-29 19:00:58 +00:00
Jenkins
4af7391ebe Merge "Update and clean up docs" 2015-01-29 18:55:49 +00:00
Lucas Dutra Nunes
7cb821e166 builders: add cmakebuilder plugin support
The cmakebuilder plugin is used to configure CMake builds to Jenkins,
being able to set several directories and variables related to CMake.

All the possible configurations for the plugin can be set with this
builder. Also included on this change are the documentation and two test
cases, one for common usage types and another more complete.

More information about the plugin can be found at:
https://wiki.jenkins-ci.org/display/JENKINS/cmakebuilder+Plugin

Change-Id: I3f62515d7dc2d3b6e5726ebe06c53e72de5cde90
Signed-off-by: Lucas Dutra Nunes <ldnunes@ossystems.com.br>
2015-01-27 17:43:37 -02:00
Igor Belikov
cc96136a6e Add 'Enable condition' support to MultiJob builder
'Enable condition' is optional condition in groovy script
format to run phase job of MultiJob project

Change-Id: I1962d7f8dc2a3613e96654ba11e15f79f8193fae
2015-01-27 17:28:07 +03:00
Khai Do
0b2db405e4 Update and clean up docs
* Reference the readme.rst in index.rst to remove redundancy
* General cleanup and updates

Change-Id: I64e149087783e67d22fd0f2006accee2a1757ae0
2015-01-23 10:02:43 -08:00
Khai Do
c8839c5671 fix project matrix doc rendering
Only one colon should precede the literalinclude

Change-Id: Id1bf144163f0b965bc404b600b08b3a1f348bb25
2015-01-12 11:17:00 -08:00
Jenkins
4bf020e07e Merge "add support for python and tox matrix project axis" 2015-01-12 15:48:56 +00:00
Kyle Rockman
f82ab9a021 add support for python and tox matrix project axis
Change-Id: I89ffc04faed02fd72c934b44b6832bd1f11d8f2e
Signed-off-by: Kyle Rockman <kyle.rockman@mac.com>
2015-01-08 14:13:40 -06:00
Khai Do
104244b833 update jjb info for clarity
Change-Id: Ic6482bd68ecb3303074979e7ac6686ab50531453
2014-12-28 07:24:54 -08:00
Jenkins
1d3af0f3ce Merge "deprecate postbuildscript onsuccess and onfailure parameter names" 1.1.0 2014-12-16 15:50:24 +00:00
Khai Do
90eceb7478 deprecate postbuildscript onsuccess and onfailure parameter names
The postbuildscript module's 'onsuccess' and 'onfailure' parameters
names were slightly confusing.  This change deprecates those parameter
names and replaces them with less confusing names.  The new names
are more closely matched to the ones that get added to the xml.

Change-Id: Ifb76129852816aa3f8ee6bb7f609a2344ccc7a69
2014-12-15 09:53:17 -08:00
Andrey Pavlov
b542685244 Add 'node' parameter to 'parameters'
This parameter defines a list of nodes where this job could potentially
be executed on. Nodes can be choosen from list of current available nodes.
Currently it trasforms to single-selection dropdown to choose a slave for execution.

Change-Id: I5379d20b94e3b33360ea8f842e3b4237b491addb
2014-12-14 10:32:39 +03:00
Jenkins
084eb8122f Merge "Add support for Config File Provider to Maven Project module" 2014-12-13 20:51:57 +00:00
Jenkins
29f718ec3b Merge "Reorganize tests/cmd" 2014-12-13 20:50:43 +00:00
Jenkins
abd9aa42f4 Merge "URL in Maven deploy is an optional field" 2014-12-13 20:48:27 +00:00
Jenkins
057037cc64 Merge "Add support for Gerrit Trigger Comment Contains Expression" 2014-12-13 20:45:45 +00:00
Jenkins
fe8269512b Merge "Allow multiple comment-added events in gerrit trig." 2014-12-13 20:40:17 +00:00
Jenkins
09825fffb8 Merge "Add Mercurial plugin feature to jenkins-job-builder" 2014-12-13 20:36:15 +00:00
Jenkins
bf7f5d299a Merge "add support to git for changelog against branch" 2014-12-13 20:34:08 +00:00
Jenkins
ef06231720 Merge "adding support for the custom tools plugin" 2014-12-12 18:00:01 +00:00
Thanh Ha
58b9fd9ca6 Add support for Gerrit Trigger Comment Contains Expression
Change-Id: I229c7fc2fac540a6fe3209221ca01dcf6dd068df
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2014-12-11 10:38:03 -05:00
Jaroslav Henner
3b3bb47a98 Allow multiple comment-added events in gerrit trig.
In order to be able to react on multiple verdict categories (for example
Verify +1, Review +2) with one job, we need multiple definitions of
trigger-on events of the same-kind (comment-added-event). This was not
possible with the previous structure of event definitions.

The new yaml structure definition also better reflects the XML structure.

Change-Id: Idec0f2b07479c0611497126e984c13adf543ffc0
2014-12-11 16:24:26 +01:00
Jean-Frédéric Berthelot
0051ad311b Add Mercurial plugin feature to jenkins-job-builder
Adds Mercurial plugin to jenkins-job-builder.
This allows you to use hg repositories in your Jenkins config
eg:
    scm:
      - hg:
         branch: feature
         url: ssh://hg@hg/repo
         modules:
           - module1
           - module2
         browser: hgweb
         browser-url: http://hg/repo

Follows up on change ids:
 I00aaa4bb7a67ee5038ed1eff79b5497866730d19
 I134c8af15f0d4dc895f7131c77085c198b701fa8

Change-Id: I628f7fbd11769b1d18551fcd2913777dbe8de5a2
Implements: blueprint jenkins-job-builder-mercurial
2014-12-11 13:59:06 +00:00
Jenkins
590ce0e15c Merge "fix typo, must be 'classifier' to appear on pypi.python.org" 2014-12-08 17:42:58 +00:00
Kyle Rockman
ae38846af5 adding support for the custom tools plugin
Change-Id: I9a85a88927c7fc37bbf443295c3ef7a5f6feda50
Signed-off-by: Kyle Rockman <kyle.rockman@mac.com>
2014-12-08 10:40:04 -06:00
Jenkins
d6a5f1c5d4 Merge "Add examples for 'predefined-parameters'" 2014-12-08 12:29:14 +00:00
Khai Do
1820175247 fix typo, must be 'classifier' to appear on pypi.python.org
The classifier info does not appear on pypi.python.org because of
the extra 's':  https://pypi.python.org/pypi/jenkins-job-builder

Also add a couple more classifiers.

Change-Id: I51ef51020bc0dc1d46a1e9049e7fa34be7b7d870
2014-12-08 12:19:50 +01:00
Jenkins
8b1d77aea6 Merge "include publisher.xunit test as doc" 2014-12-08 11:03:32 +00:00
Jenkins
65b29a303a Merge "Fix the postbuildscript documentation" 2014-12-08 10:58:01 +00:00
Jeremy Stanley
7e941d599b Workflow documentation is now in infra-manual
Replace URLs for workflow documentation to appropriate parts of the
OpenStack Project Infrastructure Manual.

Change-Id: Id5ff46fc0f3747ecde3404b448557a2b3932ce6d
2014-12-05 03:30:42 +00:00
Joshua Hesketh
cfc13d80d3 Fix the postbuildscript documentation
The docstring for postbuildscript publishers stated that onsuccess
would default to False and onfailure defaulting to True. However,
if you look below around line 2523 you'll see it's the opposite.

Update the docstring to be correct and keep the behaviour of only
running onsuccess by default.

Change-Id: Ib98095fe0d741ef3afb6d4a8893568dae9be103d
2014-12-04 16:17:42 +11:00
Jenkins
3e29642708 Merge "Make the recipients argument optional" 2014-12-03 23:31:46 +00:00
Jenkins
6a069e6468 Merge "Move extended-choice support to parameters module" 2014-12-03 23:29:47 +00:00
Thanh Ha
8660a683df URL in Maven deploy is an optional field
Passing a blank URL will cause the build to fail with
ERROR: Failed to deploy artifacts/metadata: Cannot access with type
default using the available connector factories:
WagonRepositoryConnectorFactory

Change-Id: Iab142155542f69e8ff876e7b24fd4e460b670ae8
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2014-12-02 19:09:02 -05:00
Jenkins
da04a21dc4 Merge "Document node parameter usage with matrix projects" 2014-12-02 18:19:41 +00:00
Wayne
288af951b5 Reorganize tests/cmd
This commit reorganizes the 'cmd' tests by subcommand.

Previously the multipath test was using an actual fixture directory
which actually made the fixtures directory somewhat unusable by other
tests since with an upcoming change (get_plugins_version) fixtures
directories may also contain YAML that doesn't contain JJB data.

Change-Id: I4c3866e1e0769512b40e1790e40affedb13953a2
2014-12-01 18:31:58 -08:00
Jenkins
ff7b93c8ef Merge "Add parameter to trigger_parameterized_builds" 2014-12-01 23:27:21 +00:00
Jenkins
923f84dec9 Merge "Refactor checkstyle publisher" 2014-12-01 23:18:49 +00:00
Jenkins
118f04c2f2 Merge "Add fingerprint parameter to archive publisher." 2014-12-01 23:04:37 +00:00
Jenkins
d18a48d515 Merge "adds safe-output to email-ext in publishers.py" 2014-12-01 21:34:18 +00:00
K Jonathan Harker
99335a24ad Make the recipients argument optional
When setting send-to-individuals to true it may not be desired to
also have a list of static recipients.

Change-Id: I596740408db13fe3d442e71da52e060fa74ab350
2014-12-01 11:36:22 -08:00
Jenkins
d29bf1e1a4 Merge "Add support for the Jenkins Clang Scan-Build publisher plugin." 2014-11-29 17:28:25 +00:00
Andrey Pavlov
047fd60f7e Add examples for 'predefined-parameters'
There was no example how to make multiline 'predefined-parameters'.

Change-Id: Ic287cd37ff928e34d80104085a3aca6f5d34865a
Closes-Bug: 1381079
2014-11-29 12:05:34 +03:00
Andrey Pavlov
1b2af8186e Add parameter to trigger_parameterized_builds
For supporting ability to run downstream project on the same node
parameter 'NodeParameters' should be present in output xml.
Adding same parameter to 'trigger_parameterized_builds' publisher.

Change-Id: I7769507d8da138fe0944e1b5bc24ab595e787587
2014-11-27 09:11:06 +03:00
Joakim Löfgren
f81b515294 Refactor checkstyle publisher
Change-Id: If829720c026ecffc6a5e1cede9aafa51d1ec86e6
2014-11-26 11:10:03 +01:00
Jenkins
aa3871ef45 Merge "Add MongoDB plugin support" 2014-11-25 19:33:00 +00:00
Clayton O'Neill
db9d51ac86 Document node parameter usage with matrix projects
The Matrix Tie Parent plugin has been deprecated for a while and the
documentation for it in JJB mentions that it's deprecated, but the
documentation doesn't call out how to use the new way of doing it.  This
patch updates the documentation to explicitly call out that the node
parameter only controls the matrix job's parent job.

Change-Id: Ie784f6d90667a0bc66ae0efd3eda1974ddbac4f2
2014-11-24 15:38:29 -05:00
Thanh Ha
1e21683521 Add support for Config File Provider to Maven Project module
This patch adds some detection logic to the code to detect if the
settings file starts with:
    org.jenkinsci.plugins.configfiles.maven.MavenSettingsConfig
or in the case of global-settings starts with:
    org.jenkinsci.plugins.configfiles.maven.GlobalMavenSettingsConfig

If true, the module will configure for Config File Provider as the
settings files.

See:
https://wiki.jenkins-ci.org/display/JENKINS/Config+File+Provider+Plugin

Change-Id: Iecadfd6265100720d1d0b08d3cf57a510999f89d
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2014-11-22 17:38:29 -05:00