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>
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>
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
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
- 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>
- Update to use convert_mapping_to_xml
- Add minimal test
Change-Id: I69ab91b218e069eef9904d442b932fc4116879ff
Signed-off-by: Kien Ha <kienha9922@gmail.com>
- Update to use convert_mapping_to_xml
- Add minimal tests
- Update docs
Change-Id: I803de8b7f9195caac06fa393634c36d799179cc3
Signed-off-by: Kien Ha <kienha9922@gmail.com>
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
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
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
Capture logs to attach them on exceptions to simplify the debugging of
errors in tests when they occur.
Change-Id: I5c1b5c306aba37789a8d41eabf65e0ac628af838
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
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
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>