81 Commits

Author SHA1 Message Date
Zuul
c1a73eb7cc Merge "gitlab trigger: add support for different MR events" 2018-04-13 10:54:09 +00:00
Yolande Amate
e55b3d408c
Add support for jira-changelog trigger
Change-Id: Ib66ed6ed2cc0ae909baf8657e122c8c4d3e42331
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
2018-04-12 18:42:20 -04:00
Evgeni Golov
2fca24be21 gitlab trigger: add support for different MR events
also add tests for branch-filter-type on < 1.2.0 to make Zuul happy :(

Change-Id: Ia0aa807e1139bacc3e808b6bdc9680648b596275
Signed-off-by: Evgeni Golov <evgeni@golov.de>
2018-04-12 19:42:21 +00:00
Yolande Amate
e70f327a9e Update monitor_files to use convert_xml()
Also update tests to have a minimal & full tests.

Change-Id: Id2b57492c5cc43634df48deefb9eca00a3713b99
Co-Authored-By: Thanh Ha <thanh.ha@linuxfoundation.org>
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2018-02-27 16:52:28 +00:00
Sorin Sbarnea
ea324d31d2 gerrit-trigger: avoid exception spamming logs
Adds empty triggerInformationAction section which when
missing was generating recurring spam on Jenkins logs.

included null not assignable to interface hudson.model.Action

See https://issues.jenkins-ci.org/browse/JENKINS-45788

Change-Id: I97efbfcb17388b5ca99901aa35f4311c8db77710
2018-02-06 12:16:35 +00:00
Zuul
685aba502a Merge "Add support for stash-pullrequest-builder plugin" 2017-12-27 16:22:53 +00:00
Jonathan Stockton
95667c5925 Add support for stash-pullrequest-builder plugin
Stash Pull Request Builder Plugin:
https://wiki.jenkins-ci.org/display/JENKINS/Stash+pullrequest+builder+plugin

Change-Id: Id6e4cd8bb7c72402e21b8afa6fd10120447b5596
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2017-12-18 15:42:22 +00:00
Lukas Lowinger
ed1c647aaf
Support all parameters in gitlab-merge-request
Change-Id: I21c667515b7073a19696a8d8f27d9cf2b4278504
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2017-10-25 22:50:06 -04:00
Yolande Amate
c067b01583
Add support for CloudBees Docker Hub Notification Plugin
Change-Id: I1653c79c3abef9afa8157f3af04ee39a3e7a804e
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2017-10-23 13:13:00 -04:00
Zuul
09f979a97f Merge "Add support for jira_comment_trigger" 2017-10-23 17:11:45 +00:00
Yolande Amate
c8f6f97d88 Add support for jira_comment_trigger
Change-Id: I7df9e26527e2fdbeb134cdcb4c288c3ef36e341b
2017-08-21 16:34:40 +01:00
Thanh Ha
70e6adb4eb
Default gitlab to newest plugin config format
Change-Id: I51ca15b9bfef42b79e03c4a2ba0bb9f23d880188
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
2017-07-26 13:07:32 -04:00
Russell Sim
5c7a4e4d5c Add new fields to Github pull request builder plugin
- Adds black/white label lists
- Adds skip build phrase

Change-Id: I962ec17a32317cb6757ef3b208bd68dc24a0afb7
2017-05-20 23:13:47 +02:00
Jenkins
7e1e54633f Merge "Add support for jms_messaging plugin as a trigger" 2017-04-04 15:22:17 +00: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
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
64355ba426 Merge "Update FSTrigger plugin" 2016-10-21 11:29:45 +00:00
Darragh Bailey
4573b3a25d Refactor base test classes inheritance for reuse
Refactor base test class inheritance to allow for BaseTest class to be
reused without needing to also import the TestCase class everywhere in
order to avoid having the common test function executed on base classes.

This makes it easier to build base testing classes and then simplifies
the subclassing of these for actual tests.

Change-Id: I89809e8082469f814f245db4a9ab7658aac8a405
2016-09-14 14:58:57 +01:00
Fatih Degirmenci
29b8249042 Add support for Parameterized Scheduler Plugin
Change-Id: I159d2379e316a7ed037ed24b379c519deb1b22ea
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2016-08-31 20:10:00 +02:00
Dominic Cleal
eb8a54fa45
Add cancel-builds-on-update to GHPRB trigger
Change-Id: I05c2643622f469d105d53751780b0445527faf0f
2016-08-25 11:20:44 +01:00
Christian Fetzer
7b61b011b8 gitlab trigger: Update Gitlab to >=1.3.0
Related config changes:
1.1.26: Change triggerOpenMergeRequestOnPush to enum (721fcfdbf81493c8c05893f87048d458524d684d)
1.1.27: Adds addVoteOnMergeRequest and acceptMergeRequestOnSuccess
1.1.28<1.2.0: Adds addCiMessage
1.1.29: Change allowAllBranches to branchFilterName (4da58e696b03273a2c48a3b8c223512bd70bbc80)
1.2.0: Change branchFilterName to branchFilterType (92b79677d2ee4e592686fa39f9d3e253486e40fc)
1.2.4: Adds triggerOnNoteRequest, noteRegex and skipWorkInProgressMergeRequest

Change-Id: Ic3b29cfe43a37554b7e0ae5432ddaf8ef987793e
2016-08-01 18:34:58 +02:00
Chris Denneen
1780551b8e gitlab trigger: Support new "trigger-open-merge-request-push" options
- Add full and minimal tests for version 1.1.26
- Remove extra period in docs

Change-Id: I34be79e808e295d8b72e5a2eed4afacf4cde3e34
Story: 2000523
Co-Authored-By: Kien Ha <kienha9922@gmail.com>
Signed-off-by: Kien Ha <kienha9922@gmail.com>
2016-08-01 12:29:13 -04:00
Kien Ha
7f8a33ca3b Update FSTrigger plugin
- Update to use convert_mapping_to_xml
- Add minimal test

Change-Id: I69ab91b218e069eef9904d442b932fc4116879ff
Signed-off-by: Kien Ha <kienha9922@gmail.com>
2016-07-06 00:59:57 -04:00
Jenkins
bc449aea10 Merge "Update ScriptTrigger plugin" 2016-07-04 17:56:58 +00:00
Kien Ha
7b8f989e40 Update ScriptTrigger plugin
- Update to use convert_mapping_to_xml
- Add minimal tests
- Update docs

Change-Id: I803de8b7f9195caac06fa393634c36d799179cc3
Signed-off-by: Kien Ha <kienha9922@gmail.com>
2016-07-01 11:21:06 -04:00
Jeff Grafton
9874bdd07f Add addTestResults to GitHub pull request builder trigger
Also fix bug when multiple extensions are used

Change-Id: I1915304b82c2d3c77d23bf4b43ac9fe5ec07f32d
2016-06-22 17:55:46 -07:00
Tim Birkett
d07ec2b238 Add trigger for RabbitMQ trigger module
Change-Id: I4065fb95c0a54507eb079b9c92e2343237b87027
2016-04-23 16:09:16 +01:00
Jenkins
feb8e465d6 Merge "Add support for disable-strict-forbidden-file-verification" 2016-04-21 16:45:06 +00:00
Reinhard Tartler
440acd0fa1 Add support for disable-strict-forbidden-file-verification
Enabling this option will allow an event to trigger a build if the event
contains BOTH one or more wanted file paths AND one or more forbidden
file paths.  In other words, with this option, the build will not get
triggered if the change contains only forbidden files, otherwise it will
get triggered.

Support for this was added in Plugin Version 2.16.0.

Change-Id: I860b076c2393909012c3ac9821559c9e8c9f7e28
2016-03-10 04:44:21 +00:00
David Pursehouse
e4da33d13b Allow to omit list of projects in Gerrit trigger config
In some cases, for example when using the dynamic trigger config, the
list of projects is not needed. Allow to omit the 'projects' section
of the configuration.

Change-Id: I7c9d2ed03b305ee7c7379564c4b73de1991278f4
2016-03-08 14:00:10 +09:00
Bertrand Roussel
dede4b3703 Fix default result for reverse trigger
Change-Id: I033e2c121508d0ecc2adeab0f0f21d36ef63ae3c
2016-01-29 11:19:15 +00:00
Christian Hofstaedtler
5ee2761c8e gitlab trigger: Support new "addCiMessage" flag
Change-Id: I784bd2f11e8371d951b6eb302eecaab0110c8c2b
Signed-off-by: Christian Hofstaedtler <christian.hofstaedtler@deduktiva.com>
2016-01-12 01:33:07 +01: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
Jenkins
cff0dc21c6 Merge "Fix pollscm backwards compatiblity" 2015-12-09 13:10:47 +00: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
2ffffacebf Merge "fix default handling of script-file-path" 2015-12-03 05:04:39 +00:00
Jenkins
23ea7df7d2 Merge "Adding support for monitoring files using FSTrigger Plugin" 2015-12-02 23:08:19 +00:00
Somay Jain
7c06b1062e Adding support for monitoring files using FSTrigger Plugin
Change-Id: Id3ec42ec7632433b9719c5ae11fb389a54e8530e
2015-10-17 16:41:16 -04: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
Jenkins
f4439bd2b1 Merge "Added gitlab plugin" 2015-09-29 18:34:05 +00:00
Paul Morie
584b4e30f8 Add control over more settings of github pull request builder plugin
Change-Id: I8c6bce6a7dc57140075d65e022970f8e8bb308dd
2015-09-29 01:48:52 -04:00
Jaime Flynn
778069e1ad fix default handling of script-file-path
Fixes the default handling of script-file-path property in
script trigger to more closely match the default behavior
when saving a job configuration in the Jenkins UI.

The previous behavior of setting script-file-path to an empty
string resulted in exceptions in the Jenkins log.

org.jenkinsci.plugins.scripttrigger.ScriptTriggerException:
The script file path '' doesn't exist.

Change-Id: I3d07892685c96824041efb102b2a474c22a2b9a7
2015-09-25 16:25:21 -05:00
Benjamin Koep
5b21c94af0 Added gitlab plugin
Change-Id: I43a731cf2d262ca02f69301bcf0d7cf5e82b0ed4
2015-09-09 16:44:49 +02:00
mostwanted
341afc10db Add Trigger that supports the Jenkins "BitBucket plugin"
Change-Id: I6dbbe045c459dd1e165b2c9f5a540f24805a6609
Resolves: #2000345
2015-09-08 21:50:40 +02:00
Jenkins
dc28559b05 Merge "Adding support to monitor folders using FS trigger plugin" 2015-08-30 15:49:24 +00:00
Jenkins
103db5a8f7 Merge "Customized pollscm trigger" 2015-08-26 21:16:32 +00:00
Jenkins
2308672054 Merge "Add support for forbidden file paths in gerrit trigger" 2015-08-26 16:37:33 +00:00
Nicolas Glayre
57d485e2a1 Customized pollscm trigger
Changed the pollscm trigger in order to grant the possibility
to modify the value of ignorePostCommitHooks attribute
Backward compatible is kept and warnings are logged

Change-Id: I8347912ccfa9faf77610f4594f0b69b017e0d825
2015-08-24 15:42:22 +02:00
Fatih Degirmenci
65cb720feb Add support for forbidden file paths in gerrit trigger
JJB Gerrit Trigger lacks functionality of skipping triggering of jobs
if a change impacts certain paths. This change introduces support for
this functionality.

Change-Id: I5a1940933544932bdf00b9702e0749f31fb32f09
Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2015-08-19 21:19:07 +02:00