2176 Commits

Author SHA1 Message Date
Peter Eisentraut
919052714c Add option to make test output file layout match Jenkins
Before, `jenkins-job-builder test -o outdir` would write

    outdir/job_name

With the new option `--config-xml`, it writes

    outdir/job_name/config.xml

to match the layout that Jenkins uses internally.  This is more useful
for diffing against existing Jenkins installations or uploading job
definitions by other means.

Also, it seems better to give the output files an .xml extension.

Change-Id: I78fc7aff531925ee071b8e19f40f766b4af0b5ad
2017-05-27 12:22:06 +01:00
Jenkins
3799ed2c98 Merge "Add support for new option in s3 plugin." 2017-05-26 15:38:23 +00:00
Jenkins
a02b20cd36 Merge "Add support for jms_messaging builder and publisher" 2017-05-23 14:37:15 +00:00
Ari LiVigni
1979a954d1 Add support for jms_messaging builder and publisher
- Added the following for builder and publisher
- Added all the fields for JMS Messaging plugins
- Added a minimal example
- Added a full example
- Added info in trigger for builder description of the plugin

Change-Id: Ifa209978dd38692da9f9d06bdf34782bd684a324
2017-05-22 13:30:26 -04:00
Jenkins
e7346dedd8 Merge "setup.cfg: use project homepage" 2017-05-12 18:05:44 +00:00
Ruan Jonker
4b81ba5ab7 Add support for new option in s3 plugin.
Change-Id: I294576b9c5083b8a56cdf53e682b6eecabf7e166
Task: 4223
Story: 2001025
2017-05-12 15:04:52 +02:00
Jenkins
4fb2dd1200 Merge "Fix !include parsing with variable" 2017-05-11 10:08:28 +00:00
Ken Dreyer
009ac77586 setup.cfg: use project homepage
Rather than linking to the page about OpenStack's specific JJB
implementation.

This matches the link in the README.

Change-Id: I54e1ea1ec4db534535c9ee1a10bf672a8d2b4c62
2017-05-10 15:07:53 -06:00
Ken Dreyer
56367ecb5a triggers: gitlab's wip-skip defaults to True
The documentation was incorrect for the gitlab trigger's wip-skip
parameter's default value.

The docs said it defaulted to "false", but the code actually defaulted
it to "true".

Update the docs to match the code.

Change-Id: I9f4ffa31b2d1d467d649082ff92242c78d11c121
2017-05-10 09:40:07 -06:00
Jenkins
3c902a5d38 Merge "Documented default choice" 2017-05-09 17:07:35 +00:00
Jenkins
99b3cd55dc Merge "Builders: Add ansible-playbook builder" 2017-05-01 23:49:06 +00:00
Sorin Sbarnea
fae5ac7277 Documented default choice
Change-Id: Ic61e2372bc316d3fb140e285867252f987619feb
2017-04-21 16:15:33 +01:00
Aleksandr Charykov
50fd0d2833 Fix !include parsing with variable
Do not overwrite template string when parsing yaml.

Story: 2000996
Change-Id: Id1b12be69c3994fa4108a9841c0128da9dc883ef
2017-04-20 16:03:22 +01:00
Jenkins
870045688b Merge "scm: introduce parent-credentials for git submodules" 2017-04-10 15:16:59 +00:00
Jenkins
7e1e54633f Merge "Add support for jms_messaging plugin as a trigger" 2017-04-04 15:22:17 +00:00
Azat Khuzhin
9e51beb804 scm: introduce parent-credentials for git submodules
Jenkins Git plugin does not use your configured credentials for cloning
submodules, but you can told it to use credentials from parent
repository, by checking "Use credentials from default remote of parent
repository", and this "parent-credentials" will set that option.

So without this option jenkins git plugin will not be able to clone
submodules, if they are not public available.

The default value is "false", like in jenkins git plugin.

See-also: https://issues.jenkins-ci.org/browse/JENKINS-20941
Change-Id: I1cfb3f45bb082f538eff1a9e64a03be27f759a5f
Signed-off-by: Azat Khuzhin <a3at.mail@gmail.com>
2017-04-04 14:00:16 +03:00
Ari LiVigni
16c41b6a82 Add support for jms_messaging plugin as a trigger
- Added all the fields for JMS Messaging plugins
- Added a minimal example
- Added a full example

Change-Id: I62906133019253a0cf391eda76b3515ecf328b9f
2017-03-31 11:55:06 -04:00
Jenkins
4f77324fea Merge "Wrapper pre-scm-buildstep: added support for failOnError parameter" 2017-03-29 09:55:34 +00:00
Jenkins
d39a3568d3 Merge "scm: handle "bitbucketweb" browser for mercurial" 2017-03-28 22:41:02 +00:00
Jenkins
3cb2572080 Merge "Update Gradle plugin to use convert_mapping_to_xml function" 2017-03-28 19:03:50 +00:00
Jenkins
3c05b233e9 Merge "docker-build-publish: add registry + server support" 2017-03-28 19:03:20 +00:00
Jenkins
2260a3006b Merge "Update JaCoCo plugin" 2017-03-28 19:03:14 +00:00
Jenkins
7f275c3236 Merge "properties: cover lockable-resources plugin" 2017-03-28 19:03:05 +00:00
Alexander Couzens
52a77d639c docker-build-publish: add registry + server support
registry: where to push images,
server: where to run the docker file onto
e.g.

registry:
  url: https://registry.example.com/
  credentials-id: foobar

Co-Authored-By: Linus Wallgren <linus.wallgren@scypho.com>
Change-Id: I2e592b1c52138bd4623ad2acd05c744224a8e50b
2017-03-28 17:36:16 +00:00
Jenkins
58381fa53c Merge "Use convert_mapping_to_xml for CAV plugin" 2017-03-28 17:15:37 +00:00
Sandro Gattuso
12c2ca3396 Wrapper pre-scm-buildstep: added support for failOnError parameter
- Added failOnError argument for pre-scm-buildstep
- Introduced buildsteps argument and moved list of build steps to match xml configuration of the preSCMbuildstep plugin.
- Updated existing test cases to match the new argument structure
- Added test case for pre-scm-buildstep to verify creation of failOnError tag
- Added verification on version to maintain retro-compatibility
- Updated documentation to fetch example from testcase definition

Change-Id: I25c19cd0552cf2de97b9c391492d95779c1360be
Task: 3163
Story: 2000690
2017-03-28 17:10:29 +00:00
Jenkins
8c447bac08 Merge "Add note regarding a bug with !include-raw-escape" 2017-03-27 23:43:20 +00:00
Jenkins
c20d979d95 Merge "add two new options to Log Parser Plugin" 2017-03-27 23:41:23 +00:00
Ken Dreyer
3046db9615 scm: handle "bitbucketweb" browser for mercurial
The Git SCM uses "bitbucketweb".

The Hg SCM also has "bitbucketweb" documented, but uses an un-documented
value instead: "bitbucket".

Make the Hg SCM support "bitbucketweb" so it aligns with the Git SCM and
the Hg documentation.

Continue to handle the old "bitbucket" browser, but add a comment that
this is deprecated.

Change-Id: If4266e35964b2d7c751cce009d195d4c1bcf845a
2017-03-24 09:41:44 -06:00
Jenkins
8e9fed7c00 Merge "Add support for credentials job parameter type" 2017-03-22 20:48:04 +00:00
Jenkins
d91bfa7d27 Merge "Add support for 'Groovy Label Assignment Plugin'" 2017-03-20 19:10:14 +00:00
Thanh Ha
111f4512d5
Add note regarding a bug with !include-raw-escape
This spawned from discussions on the mailing list:
http://lists.openstack.org/pipermail/openstack-infra/2017-March/005233.html

Change-Id: I7916ebec86350fa760bb02b6bde38e27c71dc359
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2017-03-16 21:31:26 -04:00
Kyrylo Shatskyy
231fcf8c46 Add support for 'Groovy Label Assignment Plugin'
Change-Id: I7978fc4997335fa6d756c24d40ed516698507d60
2017-03-16 19:12:06 +01:00
Jenkins
161473d1b7 Merge "Update text-finder plugin" 2017-03-16 16:41:23 +00:00
Jenkins
3a43fa2913 Merge "Fixed serialization for 'branch-filter-type' of gitlab" 2017-03-16 16:36:57 +00:00
Jenkins
e91b31fad2 Merge "Removed some deprecation warnings and enabled py35 on tox." 2017-03-15 18:51:42 +00:00
Adam Spiers
d3307d6938 add two new options to Log Parser Plugin
Support both global and per-project rules, and the showGraphs option,
both of which became possible in the 2.0 release:

https://github.com/jenkinsci/log-parser-plugin/compare/log-parser-1.0.8...log-parser-2.0
ecde717b9b
6e75ecc8f9

Change-Id: I38b0058467d16ca7e3c4d3dc4edb2c9294551f15
2017-03-15 09:55:06 +00:00
Ken Dreyer
38aca37543 builders: fix docker-build-publish docstring link
Prior to this change, the docker-build-publish setting docs did not
properly link to the docker-build-publish Jenkins wiki page.

Fix the syntax so that the docs properly link to this plugin's wiki
page.

Change-Id: I75fbe95957b0ace6dd79b5111b4f9213fd80c696
2017-03-14 11:09:08 -06:00
Jenkins
53ed05730c Merge "Enable options and use convert_mapping_to_xml for groovy plugin" 2017-03-14 16:41:46 +00:00
Sorin Sbarnea
8a7d77c180 Removed some deprecation warnings and enabled py35 on tox.
Change-Id: Icc5b28c4636b542a10502b7b1d2d2dc2028cc166
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
2017-03-12 19:43:33 +00:00
Alexander Evseev
273f2128fe Add the Slave Prerequisites properties plugin
Add support for the Slave Prerequisites Plugin
(https://wiki.jenkins-ci.org/display/JENKINS/Slave+Prerequisites+Plugin)

Change-Id: I98e854ab3ab7cdbe1563b6b38b7fc4d661edcd11
2017-03-07 12:09:23 +03:00
mhuin
a5eb235881 Add a publisher for MQTT
Add support for the MQTT Notification Plugin
(https://wiki.jenkins-ci.org/display/JENKINS/MQTT+Notification+Plugin)

Change-Id: Ibe867a15f5621601a45c2e1d6281f4db67df29d7
2017-02-27 09:09:29 +00:00
Kien Ha
6b938fbd9d Update JaCoCo plugin
- update JaCoCo plugin to use convert_mapping_to_xml
- fix status-update to update-build-status
- add minimal and full test

Change-Id: Iff936c93544416ab7759ccfabb7e284fc99e8e7c
Signed-off-by: Kien Ha <kienha9922@gmail.com>
Signed-off-by: Ryo Tagami <rtagami@airstrip.jp>
2017-02-24 14:01:08 +09:00
Anil Belur
fce15e414b
Enable options and use convert_mapping_to_xml for groovy plugin
- Add support for file and command options for groovy plugin
- Update docs
- Update minimal and full tests
- Use convert_mapping_to_xml

Change-Id: I60f600898f9b2852bc420aa3b5c43f63776a6247
Signed-off-by: Anil Belur <askb23@gmail.com>
2017-02-23 10:34:49 +10:00
Jenkins
7e3edde3dc Merge "Prevent creation of empty parameters for Repo" 2017-02-22 01:23:56 +00:00
Jenkins
a0fc9a26d7 Merge "Add case-sensitive arg to archive publisher" 2017-02-22 01:10:16 +00:00
Bulat Gaifullin
38fc311dcd Fixed serialization for 'branch-filter-type' of gitlab
tag 'branchFilterType' was introduced only in GitLab+Plugin ver. 1.2.0

Change-Id: I8cee5b4b77431fa78d28fe359a4fafc5609bde3e
Story: 2000875
2017-02-21 20:45:43 +03:00
Jenkins
4960f92ad3 Merge "Add Dimensions SCM support" 2017-02-11 14:22:15 +00:00
Thanh Ha
0583e30dc4
Use convert_mapping_to_xml for CAV plugin
- Update docs
- Update minimal and full tests
- Use convert_mapping_to_xml

Change-Id: I05e6945055e6a6e9a358377d7e2fc00944f1f9cc
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2017-02-09 21:01:34 -05:00
Jenkins
c226f33fcd Merge "Add Pipeline job type and deprecate Workflow" 2017-02-08 21:05:45 +00:00