summaryrefslogtreecommitdiffstats
path: root/tests/yamlparser/fixtures/complete001.xml
Commit message (Collapse)AuthorAgeFilesLines
* Gerrit Trigger: update support to the latest plugin versionAdam Romanek2020-06-011-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The changes include: - deprecated the following options and made support for them dependent on the Gerrit Trigger plugin version: - 'no-name-and-email' - 'readable-message' - 'trigger-for-unreviewed-patches' - added a set of new options: - 'name-and-email-parameter-mode' (replaced 'no-name-and-email') - 'commit-message-parameter-mode' (replaced 'readable-message') - 'change-subject-parameter-mode' - 'comment-text-parameter-mode' all these options can have one of the following values: - NONE - PLAIN - BASE64 the default value for the first two options is taken from the respective options they replaced, if they exist in the input YAML file, so the overall change should be backward compatible - fixed the value generated for <dynamicTriggerConfiguration> element it should be "true"/"false" instead of "True"/"False" - added an empty <dynamicGerritProjects> element when dynamic trigger functionality is disabled to match what the plugin does With the above changes the markup generated by JJB is fully aligned with Gerrit Trigger plugin v2.30.x. Tested on Gerrit Trigger plugin v2.30.0. Task: 39871 Story: 2007722 Change-Id: I25800874f51a93a351926a9a1be255cce80b88bd
* Merge "Fix timeout wrapper version detection"Zuul2018-02-081-6/+8
|\
| * Fix timeout wrapper version detectionThomas Bechtold2018-01-091-6/+8
| | | | | | | | | | | | | | | | | | | | | | If, for whatever reason, the version of the build-timeout plugin can not be detected, assume that we use a newer version (>= 1.14). Version 1.14 is already ~ 2 1/2 years old so this is a sane assumption. Also adjust fixtures to use the newer plugin version xml output. Change-Id: I86295933d0c3247f55d0114473fc9c8f8feb7441 Signed-off-by: Bertrand Roussel <broussel@sierrawireless.com> Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
* | gerrit-trigger: avoid exception spamming logsSorin Sbarnea2018-02-061-0/+1
| | | | | | | | | | | | | | | | | | | | | | 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
* | Allow template-name in the global defaultsJan Hruban2018-01-161-1/+2
|/ | | | | | | | Inject the template-name into parameters earlier, so it's possible to use it in the global defaults. Mark the template name as 'verbatim' so the interpolation is skipped by the formatter. Change-Id: I5d98e32ed2bedaa6b536e61fbdec589f358f861f
* Update Git SCM so that extensions are configured correctly.Jeff Grafton2016-06-061-10/+4
| | | | | | | Many configuration options have been extensions for at least 2 years, so update the generated XML to actually configure these options. Change-Id: Ic22ca4a6b8d61c977979a5eb63a2e884dc4391bd
* Add support for disable-strict-forbidden-file-verificationReinhard Tartler2016-03-101-0/+1
| | | | | | | | | | | | 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
* Add template-name as a variable that can be used in a templateJames E. Blair2015-11-241-0/+3
| | | | | | | | In complex configurations it may be useful to have a template print out its name so that a given job can be easily traced to its definition. Change-Id: I1cfed9c27a58b45ba48aeed04839bfc8f54a831e
* Support for more options in gerrit plugin and doc cleanup.Somay Jain2015-06-291-0/+4
| | | | | | | | | | | | Following options are added - * Other jobs on which this job depends * Notification Level * Unsuccessful Message File * Silent Start Mode Gerrit docstring cleanup for better indentation. Change-Id: I2d0988973dcdd7ff32e7cdcd2c2676da3235e7fc
* Added gerrit trigger missing optionsDavid Caro2015-04-191-5/+13
| | | | | | | | it was missing the options to set the verified and code review values on unstable, start and not built statuses. Change-Id: Ia462d48efc645218281040ff38ab0f7c00e1859d Signed-off-by: David Caro <dcaroest@redhat.com>
* Add 'readable-message' parameter to gerrit triggerIgor Belikov2015-02-191-0/+1
| | | | | | | | Adds ability to keep base64 encoded gerrit trigger variables (such as commit message) in human readable format. Change-Id: Ie96d633ab9dc96dacf859409fd649bd981f9eb7c
* Update SCM Git Clean configuration to use new extensions styleThanh Ha2015-02-031-1/+1
| | | | | | | | | | | | | | | | Use the extensions style configuration for setting the SCM Git clean configuration. With this format we deprecate the older (clean: bool) configuration format and replace it with this format: clean: after: bool before: bool The older configuration is still supported so users who did not update their YAML files can upgrade without updating all their YAML files first. Change-Id: I1cfc0e2951c2b4de5e67bcb8abdf0b8c070e7fc6 Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
* Update SCM Wipe workspace to use extensions styleThanh Ha2015-02-031-1/+3
| | | | | | | | | | | | | | | | | Use the newer extensions style configuration for the SCM Wipe workspace option. This change simply changes the output style of this configuration leaving the original YAML configuration values in tact so it is backwards compatible with the old style configuration for wipe-workspace setting. While this patch still sets the old <wipeOutWorkspace> value long with the new extensions value. Jenkins appears to be happy with both values present and prefers the extensions format if it exists. This should allow the older Jenkins that only supports the older config format to continue to work. Change-Id: Ib5b1809d19a35f83f524ee84b18f0c58b851c70b Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
* add support to git for changelog against branchKyle Rockman2014-11-211-0/+1
| | | | | | | added support for another extension type, and fix how extensions are populated to xml Change-Id: Ic9cf21a268d4ee3fb9b9efdee65c3d49e0cdb31e Signed-off-by: Kyle Rockman <kyle.rockman@mac.com>
* Added notbuilt-message option to gerrit triggerDavid Caro2014-10-311-0/+1
| | | | | | | It was not there for some reason, just added it. Change-Id: Ica85183656a5cc8e427837efeb0b961f0633c74a Signed-off-by: David Caro <dcaroest@redhat.com>
* Add support for 'ignore-notify' in git SCMChristian Hofstaedtler2014-07-271-0/+1
| | | | | | | This option is named "Don't trigger a build on commit notifications" in the Jenkins Web UI. Change-Id: I338af61f8bfdef1545d1ea206e6874cda38957cd
* Fix ant builder definition in complete testDarragh Bailey2014-06-211-1/+1
| | | | Change-Id: I8f6041c0aa2b7a24d2dc8ed73b2719c332b869e6
* Add support for triggering on unreviewed patchesDavid Pursehouse2014-05-121-0/+1
| | | | | | | | Since version 2.11.0 the Gerrit Trigger Plugin can be configured to generate patchset-created events for changes that were uploaded while the connection to Gerrit was down. Change-Id: I59608e4f01355944fed9e44b288fc25a897950c7
* Add support for multiple Gerrit servers in Gerrit triggerDavid Pursehouse2014-04-211-0/+1
| | | | | | | Since version 2.11.0 the Gerrit Trigger Plugin can be configured to trigger on more than one server. Change-Id: I2082c5cfd14cd2494e2a7192beeb4909552cb7f6
* Add tests for YamlParser and patch 2.6 minidomDarragh Bailey2014-01-261-0/+137
Test full build job XML produced by the YamlParser object which exposed differences in how the XML was being written on python 2.6 versus newer versions of python. Differences were whitespace only, but made testing and validating the xml outputted across multiple versions of python difficult. Code now patches the python 2.6 writexml method on the Element class in the xml.dom.minidom module, with a version of the method taken from python 2.7.5. Removed the now obsolete regex that was reformatting the output on python 2.6. Change-Id: I26c100b6adfbcb9b197bb06cd162855adaaf24c5