81 Commits

Author SHA1 Message Date
Jenkins
6190a2407b Merge "Convert jclouds example to unit test" 2016-08-30 03:33:19 +00:00
Jenkins
0a4e62fe2c Merge "Update Delivery Pipeline plugin to use convert xml" 2016-08-18 15:16:35 +00:00
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
Kien Ha
9746bddc48 Update xvnc to use convert xml
- Update doc to use 4 space indent syntax
- Update test file to be more descriptive
- Add minimal test
- Add plugin="xvnc" attribute

Change-Id: I6b669d3b18fd6efadcbaf1b801242a46d9c2db21
Signed-off-by: Kien Ha <kienha9922@gmail.com>
2016-07-22 12:37:29 -04:00
Jenkins
8524c041af Merge "Update Logfilesizechecker to use convert xml" 2016-07-19 17:08:12 +00:00
Jenkins
3e040a1aee Merge "Update live-screenshot plugin to use convert xml" 2016-07-19 17:06:58 +00:00
Jenkins
9a25a38673 Merge "Add partial support for maven-release-plugin" 2016-07-19 15:36:14 +00:00
Kien Ha
739f90a653 Update MongoDB plugin
- Update to use convert xml
- Update doc options to have default values
- Rename test files to be more descriptive

Change-Id: I83ada14df074805333eb50d746a0bc90fd7b5619
Signed-off-by: Kien Ha <kienha9922@gmail.com>
2016-07-14 18:51:10 -04:00
Kien Ha
0dec022703 Update Logfilesizechecker to use convert xml
- Rename full and minimal test files to be more descriptive

Change-Id: Ia70f4c23341c4bd5aa137f9620cb945aa9cce5fc
Signed-off-by: Kien Ha <kienha9922@gmail.com>
2016-07-14 18:25:28 -04:00
Kien Ha
f646a016b8 Update live-screenshot plugin to use convert xml
- Rename test file to be more descriptive
- Add plugin="livescreenshot" attribute

Change-Id: I587e52c2cc2ba601b9d610ee6916edba4c9e3367
Signed-off-by: Kien Ha <kienha9922@gmail.com>
2016-07-14 18:07:20 -04:00
Madhumitha Viswanathan
f74501e781 Add partial support for maven-release-plugin
This patch adds support for the Maven release build wrapper.
The Maven release plugin makes use of the concept of jenkins Actions
to trigger the actual release -
https://wiki.jenkins-ci.org/display/JENKINS/Action+and+its+family+of+subtypes

The actual code for the action -
https://github.com/jenkinsci/m2release-plugin/blob/master/
src/main/java/org/jvnet/hudson/plugins/m2release/M2ReleaseAction.java,
seems to put together all the required
parameters and makes a call to scheduleBuild2 and passes an Action object with it.
Afaik, JJB doesn't support the concept of Actions. If the M2ReleaseAction was an
instance of Builder, instead of Action it would work with this. Currently, I don't
see how the actual build (release) can be triggered from JJB config, and it seems
like we can define the build wrapper alone as part of the job definition, and would
still have to trigger the release from the UI for the job like - <jobname>/m2release

Change-Id: Ifc979cdb8e40ad31debff04f745649f23f7ef91a
2016-07-05 18:27:50 -07:00
Thomas Desvenain
dfcce532b4 Added amazon web services to credentials bindings
We can inject access and secret key in environment variables using
Amazon Web Services Credentials plugin.

This allows us to use amazon web service command line client and api
into builders.

Change-Id: I2569cad0e873f2ff80b8b8549c7fcacdf5909ea3
Signed-off-by: Thomas Desvenain <thomas.desvenain@gmail.com>
2016-06-07 11:17:01 +02:00
Ryo Tagami
6ce5c6a31a Add support for Jenkins OpenStack Cloud Plugin
This commit adds support for [Openstack Cloud Plugin]
(https://wiki.jenkins-ci.org/display/JENKINS/Openstack+Cloud+Plugin).

Change-Id: Ic3cf46908113cdb1c0bc50005d470a7da8a86f60
Signed-off-by: Ryo Tagami <rtagami@airstrip.jp>
2016-05-17 13:32:49 +09:00
Jenkins
e8424c9c64 Merge "Add deadline option for build-timeout plugin" 2016-05-12 15:35:34 +00:00
Kien Ha
377f8378fe Add deadline option for build-timeout plugin
Change-Id: I475d28c41292fe7be66c1c0a574da8960e4b73ec
Signed-off-by: Kien Ha <kienha9922@gmail.com>
2016-05-06 12:39:09 -04:00
Jenkins
e30c0ef561 Merge "Update workspace-cleanup to support newer options" 2016-05-03 15:52:55 +00:00
Jeff Grafton
13fa71cd82 Update workspace-cleanup to support newer options
This commit adds support for controlling whether cleanup runs via a job
parameter and using an external deletion command.

Change-Id: Ib80317c0e4cf95526ed59b719a1fd8df9c5e3f4f
2016-05-02 14:05:02 -07:00
Jenkins
f7712e309e Merge "Fix Generic Artifactory repository key selection options." 2016-04-30 11:25:51 +00:00
Joao Vale
211efc5819 Fix Generic Artifactory repository key selection options.
Change-Id: Id564409a3a183ecfe3984fe8b3cf7de3784c99df
Co-Authored-By: Steven Armstrong <Steven.9.armstrong@gmail.com>
2016-04-24 16:29:43 +01:00
Jenkins
3a366e197f Merge "Adding Build Keeper plugin." 2016-04-23 14:53:03 +00:00
Jenkins
0787cfac27 Merge "Add Docker Custom Build Environment Plugin support" 2016-04-23 14:49:02 +00:00
Khai Do
4e4aeb7564 Convert jclouds example to unit test
Change-Id: Ic24dc65c6bc2785bc81b6769e57b5391700dfb0f
2016-04-22 19:52:22 +01:00
Darragh Bailey
a6d021ab4f Update Urls for redirects and broken
Update Urls broken in the documentation and code to results of
redirects or where the correct endpoint is known.

Change-Id: Ie4ef2d1e207c7a98295625ed2cb74ab37e85730d
(cherry picked from commit 63ca017d0a728a96e8a8a1128d309f79bea7c769)
2016-04-22 15:11:47 +01:00
Michael Jeanson
b17790cc58 Add script-type to env-script wrapper
Change-Id: Iac2c6cffd826369d1fd3be70cfc5dd906ee2ca56
Signed-off-by: Michael Jeanson <mjeanson@gmail.com>
2016-01-25 17:12:48 -05:00
Timon Wong
f22d7b89eb Add Docker Custom Build Environment Plugin support
This build wrapper uses the "Cloudbees Docker Custom Build Environment
plugin". It allows to define build environment using either a Dockerfile
stored in project SCM, or a docker image from docker registry directly.

Change-Id: I11f94a10b8a06bd4aa61a817c21a1ee1dd885072
2016-01-21 23:27:51 +00:00
Jenkins
cea4c6e719 Merge "Allow multiple credentials-binding entries" 2016-01-15 17:54:30 +00:00
Jenkins
de11f18bb3 Merge "Add support of 'somewhereElse' value to Copy to slave plugin" 2016-01-07 11:05:37 +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
Ian Zelikman
a202e0110b Adding Build Keeper plugin.
Change-Id: If0b840884186e0e3dc649076a994e99ba38796c7
2015-12-23 07:08:02 -05:00
Clayton O'Neill
3816d33bb4 Allow multiple credentials-binding entries
This changes the Credentials Binding support to emit a single
credentials binding XML block no matter how many credentials binding
entries there are in the YAML.  This is needed because the Credentials
Binding plugin doesn't handle more than one XML block.

Change-Id: I3c1ac4391920104666d86fa85b06fb2c5543cf4a
2015-12-23 00:19:12 -05:00
Fathi Boudra
3a04f7fe7d
Add support of 'somewhereElse' value to Copy to slave plugin
Since copy to slave plugin version 1.4 (released on January 2012),
an additional value 'somewherElse' is permited for "paths are relative to"
option.

Relevant bug and commit:
https://issues.jenkins-ci.org/browse/JENKINS-12281
74f4fc505b

Additional changes: re-order alphabetically the options as the plugin
itself does.

Change-Id: Ie0f738120e0fb95c9826d61871e6bdda461b5b5a
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2015-12-07 00:35:06 -05:00
Tomas Bezdek
383d4250f0 add support for NodeJS Plugin
Change-Id: I583b6e8cac8b7bfe086e7f16e2989db3d50a6054
2015-11-10 21:46:00 +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
Ryan Carey
a39c4d85d1 Add support for Artifactory plugin
Artifactory support adds three modules to jenkins-job-builder:
1. Artifactory publisher
2. Artifactory wrapper (for Maven projects)
3. Generic-Artifactory wrapper (for other project types)
Change-Id: I801bba707198226d63c94d869cae9167eb4906d4
2015-09-17 13:47:05 -04:00
Jenkins
f01628c1ea Merge "adding support for android emulator" 2015-08-26 09:46:21 +00:00
Kyle Rockman
71093f3bda adding support for android emulator
Change-Id: Icced37b818d3c51dbdc3ea43ce9d7e7f5c15e2a1
2015-08-20 16:39:17 -07: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
Somay Jain
b2cfb7ef24 Improvement in the Credentials Binding Plugin
* Adding the option to select Username and Password (separated) -
Allows the user to set one variable to the username and
one to the password in the credentials.

Change-Id: I926bbd166ca00846fe280dda61eb821c5bb89b13
2015-07-10 17:25:42 +05:30
Jenkins
1285b4417a Merge "Adding support for LiveScreenshot Plugin" 2015-07-03 12:18:52 +00:00
Holger Levsen
bc73928d0f Adding support for LiveScreenshot Plugin
https://wiki.jenkins-ci.org/display/JENKINS/LiveScreenshot+Plugin

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

My (Philip Hands's) contribution is limited to moving the one line from
setup.py to setup.cfg, fixing a couple of very minor pep8 errors, adding
the unit test, and submitting it upstream (now).
I've therefore set the Author to be Holger.

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

Change-Id: I57a19786f202ebdb2f98cd63252b1a1e1639d9b3
Co-Authored-By: Philip Hands <phil@hands.com>
2015-06-29 20:17:48 +01:00
Wayne
8a63d7a2a0 Update 'timeout' wrapper module
Add support specifically for BuildTimeoutWrapper plugin version 1.14 and later;
leave module behavior intact for previous versions.

Change-Id: I6e9459271172540eda4fdb576d788fa2ae6f4d68
2015-06-22 07:03:41 -07:00
Jenkins
85634eb37c Merge "Add support for 'raw' to inject direct xml to job configs." 2015-05-04 16:05:51 +00:00
Max Rydahl Andersen
cb876b481e Add support for 'raw' to inject direct xml to job configs.
'raw' allow users to have a fallback in case
a plugin is not yet supported or the plugin is not generating the
expected result.

Only intended as a last fallback, but useful when waiting for
review to complete.

Change-Id: If0d22d7d43d35649e78aa7481e1c0f1ed21a6025
2015-05-02 15:42:32 -07:00
Jenkins
f966521af4 Merge "Support for Xvfb plugin" 2015-04-23 09:52:45 +00:00
Michal Vanco
380404b571 Support for Xvfb plugin
* compatibility checked with versions 1.0.8 and 1.0.16

Change-Id: Icb59daf3bc6a2d69e2eb295cce5e7c03bd3a9f39
2015-04-22 09:51:03 +02:00
Thanh Ha
24849929e1
Add support to CFP in builders sections
- Adds additional support for Config File Provider to builder sections
- Move builder/wrapper configuration to a common helper function for
  reuse

Change-Id: Ie80a3abbd42bdd06d138dcd0c5beea26c9a81f26
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2015-04-20 21:09:59 -04:00
Jenkins
8a8595f057 Merge "Add 'Job Log Logger' wrapper" 2015-03-19 23:33:59 +00:00
Jesse DeFer
2bb16b594d Add 'Job Log Logger' wrapper
The Job Log Logger plugin writes the Jenkins job log to the underlying Jenkins
log system in addition to the normal build log.

Change-Id: I17b73ade974edf3d7a2d1e08c4e4c584dbe32c51
2015-03-17 19:09:52 -07:00
Max Rasskazov
68c9cabeb6 Add support of multiple credentials for ssh-agent-credentials wrapper
ssh-agent-credentials wrapper supports multiple credentials like
ssh-agent plugin v1.5
(https://wiki.jenkins-ci.org/display/JENKINS/SSH+Agent+Plugin)
via 'users' parameter. 'user' parameter is retained for backward
compatibility.

Change-Id: I8a21dd0e7cba210818ffe30bbc5c7e73b56211cb
Signed-off-by: Igor Gnatenko <ignatenko@mirantis.com>
2015-03-17 11:45:37 +00:00