summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Fix authorization property issue"Zuul2020-01-222-0/+35
|\
| * Fix authorization property issueArtem Nikitin2020-01-172-0/+35
| | | | | | | | | | | | | | | | | | | | | | The change fixes a XML generating error (KeyError: '_use_folder_perms') for project, which isn't contained in a folder and has got authorization properties. Task: 38110 Story: 2007087 Change-Id: I2e0ec6e524d07a935333b35e10eb4204af9256f7
* | Merge "Add support for opsgenie notification plugin"Zuul2020-01-224-0/+42
|\ \ | |/ |/|
| * Add support for opsgenie notification pluginJohn Oram2020-01-074-0/+42
| | | | | | | | Change-Id: Id84b3d9282568cf47d5feb930fd618afe969b45f
* | Experimental support for filterChecks traitLuca Milanesio2020-01-082-0/+7
| | | | | | | | | | | | | | | | The gerrit-code-review-plugin v0.4.0 introduces the integration with Gerrit Checks plugin. Introduce the option to query for pending checks. Change-Id: Idb3f290121aa6fbcdc25a0821c9bdc3dd03e21af
* | Fix gerrit-code-review plugin nameLuca Milanesio2020-01-032-2/+2
|/ | | | | | | | The GerritSCMSource type for the multibranch pipeline does not belong to the 'gerrit' plugin but rather to the 'gerrit-code-review' plugin. Change-Id: I5edd81a3506847c3e5910ad66d4498a2b8c899e9
* Merge "Fix the yaml load warning."3.2.0Zuul2019-12-163-8/+8
|\
| * Fix the yaml load warning.Daniel Bengtsson2019-12-103-8/+8
| | | | | | | | | | | | | | | | | | | | | | In the new version of PyYAML the API changed to be more explicit. Now the default value for the Loader is None, see: https://github.com/yaml/pyyaml/blob/5.1/lib3/yaml/__init__.py#L103 The load is unsafe. It's better to use safe_load function. Change-Id: Ia1cd16f2ff970ca220a266c99b6554dd4254ebd9
* | Add support for noSquash (no-squash) in jms-messaging triggerWaldemar Znoinski2019-12-133-0/+3
|/ | | | | | | | | | | It's sometimes required to trigger a job build on every CI message. To achieve that the XML's noSquash (jjb: no-squash) has to be set to True. see triggers section at: https://wiki.jenkins.io/display/JENKINS/JMS+Messaging+Plugin Change-Id: I389e59cca4f649379614f7f6247bf76cf4a0ba95
* Add alias to multijob builderArtem Nikitin2019-11-132-0/+32
| | | | | | | It's helpful to have possibility to set `jobAlias` in case the same job is used multiple times with different configurations. Change-Id: Ic092c6b2f5d893e75ebce4aaebc7eaf88a8978a6
* Add Private and WIP change support for gerritJoseph Kostreva2019-11-064-0/+8
| | | | | | | Updated gerrit trigger support to include the new exclude private and exclude wip changes. Change-Id: I75d8113941e4e455ec34fab23d347816c2ef699b
* Fix double inderection of name templatesJames Harris2019-11-052-0/+59
| | | | | | | | | | Ensure that we can resolve any lazily loaded templates that might be dictionary keys in yaml. For more informmation please see the added test case in tests/yamlparser/fixtures/jinja-string04.yaml. Change-Id: I67fbca422f2165729af15e4d039278ad66f6240b Story: 2006431 Task: 36338
* Allow use of jinja templates in defaultsJames Harris2019-11-052-0/+38
| | | | | | | | | | | | Jinja templates are not deep-copyable so they cannot be used in "defautls" sections or to pick defualts for job groups or projects. This works around the issue by waiting until we render the template to construct the template itself. Story: 2006431 Task: 36337 Change-Id: Ief31fdaac06bb14d0aaba71c8c0e658a7f861671
* Support sectioned viewsJan Zerebecki2019-10-284-0/+58
| | | | Change-Id: Iaf352e8cc62644fb05afaae21630b9bec2cd30c0
* Support nested viewsJan Zerebecki2019-10-244-4/+67
| | | | Change-Id: I13532a16efc6e970ab5a7c021ec4d77be98d3de8
* Merge "Fix Authorization properties for folder and job in Folder"Zuul2019-10-132-0/+34
|\
| * Fix Authorization properties for folder and job in FolderJo Rhett2019-10-022-0/+34
| | | | | | | | | | | | | | | | | | This outputs the correct XML schema for authorization properties for both a folder, and a job inside a folder. Story: 2006493 Story: 2006611 Change-Id: I14662855613ce146f74b85f5978a0ed828f4439b
* | text-finder: support not-built-if-foundChristoph Berg2019-10-102-0/+2
| | | | | | | | | | | | | | | | Added upstream June 2018 in https://github.com/jenkinsci/text-finder-plugin/pull/16 Released upstream with 1.11 in June 2019: https://wiki.jenkins.io/display/JENKINS/Text-finder+Plugin Change-Id: I28cf1425da98091ae0b19f450aea3fa5de6546c6
* | Add support for new 'notify every failure' option in Slack PluginSylvain Baubeau2019-10-043-0/+3
|/ | | | Change-Id: Idd48c5c0e595195aaecfee9aab7233cbf1d1a640
* Auto-generated output from python-blackThanh Ha2019-09-0934-673/+773
| | | | | | | | | Please review the following patch containing the code changes in the repo. This patch is a transition patch and is the auto-generated output of the python-black tool. Change-Id: I2d2de71da8a105fb62b561899ae78441ddab4032 Signed-off-by: Thanh Ha <zxiiro@gmail.com>
* Merge "Add support for two new plugins, and a new version of one"Zuul2019-08-1515-0/+213
|\
| * Add support for two new plugins, and a new version of onekendallpcdoctor2019-07-2515-0/+213
| | | | | | | | | | | | | | | | | | | | | | Added new support for the following plugins: Perforce plugin: https://wiki.jenkins.io/display/JENKINS/Perforce+Plugin InfluxDB plugin: https://wiki.jenkins.io/display/JENKINS/InfluxDB+Plugin Added support for v3.0 of the following plugin https://wiki.jenkins.io/display/JENKINS/Priority+Sorter+Plugin Change-Id: If109863a91710c08b34dee622496e551a7b3b520
* | Merge "Avoid ResourceWarning by closing file handlers when finished"Zuul2019-08-151-1/+2
|\ \
| * | Avoid ResourceWarning by closing file handlers when finishedPhilip Roche2019-07-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warnings appear when running local_yaml unit tests. This commit fixes the issues causing these warnings ``` ResourceWarning: unclosed file <_io.TextIOWrapper name='jenkins-job-builder/tests/yamlparser/fixtures/include_path001.conf' mode='r' encoding='utf-8'> jjb_config = JJBConfig(self.conf_filename) ``` Change-Id: I8fec288cce8c9f6c7b928886d7c70f7a35d43b4a
* | | Merge "Add support of "disableDeferredWipeout" option to workspace cleanup ↵Zuul2019-08-156-0/+6
|\ \ \ | | | | | | | | | | | | plugin"
| * | | Add support of "disableDeferredWipeout" option to workspace cleanup pluginSergii Kipot2019-08-146-0/+6
| | | | | | | | | | | | | | | | Change-Id: I2edd0343966e1720161c291b811b989f005495fb
* | | | Added missing 'filters' parameters for rabbitmq trigger pluginSergey Lebedev2019-08-062-0/+27
|/ / / | | | | | | | | | Change-Id: Ide9e02c7b5a327a17521aac8d25ccff285bbd89a
* / / Revert "Add support for rendering jinja template as yaml"Daniel Watkins2019-07-293-41/+0
|/ / | | | | | | | | | | This reverts commit a9e12ed4a9f5866da0af5fdc68f60b09ca8efa4b. Change-Id: I2bbb2cc167a4c2cd95ac6b376ebe83bcf7a263ad
* | Adding support for the cachet gating pluginAviel Yosef2019-07-192-0/+18
| | | | | | | | Change-Id: Ie50d25d09a094f2315e790288f3c3f1619ffdb7f
* | Merge "Add support for rendering jinja template as yaml"Zuul2019-07-153-0/+41
|\ \
| * | Add support for rendering jinja template as yamlPhilip Roche2019-07-123-0/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This also adds support for using custom loaders in job definitions not just job-templates and builders. I have also added unit tests for include-jinja2-as-yaml custom loader. Example usage: - axis: type: user-defined name: VERSIONS values: !include-jinja2-as-yaml: versions.j2.yaml.inc Where versions.j2.yaml.inc is {% for possible_versions in configuration["possible_versions"] %} - {{ possible_versions["versions"] }} {% endfor -%} Change-Id: I15a431d5a86b29d704efda8576965ade2b7dcd2f
* | | Add support for GH Custom Notification ContextIvan Fernandez Calvo2019-07-022-0/+5
|/ / | | | | | | | | | | Task: #35637 Story: #2006141 Change-Id: Id4bbc73a709a7cd292072ab66666bd647f0514a6
* | Merge "remove support of old plugin config format"Zuul2019-06-263-31/+1
|\ \
| * | remove support of old plugin config formatSorin Sbarnea2019-04-163-31/+1
| | | | | | | | | | | | | | | | | | Remove code refering to old plugin config format. Change-Id: Iba0922d3bfe066444e5e982c303968d15e1853a1
* | | Add support for 'Micro Focus Application Automation Tools'Johann David2019-06-064-0/+57
| | | | | | | | | | | | Change-Id: Ie514614889daeccbd15b5b2cfffc6157c272849e
* | | Merge "Include support for jacoco source inclusion pattern"Zuul2019-05-175-0/+5
|\ \ \
| * | | Include support for jacoco source inclusion patternPatrick Paul2019-05-065-0/+5
| | | | | | | | | | | | | | | | Change-Id: Iec75f7041e38bda09abf4d85abc15219259eff2c
* | | | Merge "fix job-template call in include-raw-escaped fixtures"Zuul2019-05-062-2/+2
|\ \ \ \ | |/ / / |/| | |
| * | | fix job-template call in include-raw-escaped fixturesEvgeni Golov2019-04-162-2/+2
| | |/ | |/| | | | | | | | | | | | | the correct term is job-template, not template-job Change-Id: I01e7aea19d95c103f1a1a3d5d4bafeb95a53ab87
* / | Add 'skip-initial-build' to project multibranchChris Koehnke2019-04-268-0/+8
|/ / | | | | | | | | | | | | Adds support for the skip initial build option added by https://github.com/jenkinsci/basic-branch-build-strategies-plugin/pull/4. Change-Id: I903de7605fa1f0e3ada027ada07a7972d2ca9603
* / Add `Specs support` for `artifactory_generic`Andrey Kostrov2019-04-106-0/+84
|/ | | | | | | | | | | | | Add support of Artifactory Specs https://www.jfrog.com/confluence/display/RTF/Using+File+Specs As for now, JJB doesnt support of Artifactory Specs, only deprecated way is supported. This patch adds possibility for using of Specs inside Jenkins plugin https://www.jfrog.com/confluence/display/RTF/Jenkins+Artifactory+Plug-in Change-Id: I69e64202972f9f9b9147fdd65daffc2734a7d0cd
* Merge "Add 'publishers-from' to the publishers module"Zuul2019-04-102-0/+11
|\
| * Add 'publishers-from' to the publishers moduleNorbert Grünwald2019-04-092-0/+11
| | | | | | | | | | | | | | | | This adds the 'publishers-from' action to the publishers module. It enables the "Use publishers from another project" provided by the "Template Project Plugin". Change-Id: I6fb030a99bccaa79e4f99efe012ff63c6d376a38
* | Set reference repo under clone optionsVishal Bhoj2019-04-092-0/+39
| | | | | | | | | | | | | | | | | | | | | | When we have cloneOptions in the generated with options like tags and reference filled outside of cloneOptions, The reference is not filled in the job configuration and this option will not work as expected. reference should alwasy be listed inside CloneOptions. Change-Id: I519d3c42f1b32ab27243b0f5c592e3d41e3230bb Signed-off-by: Vishal Bhoj <vishal.bhoj@linaro.org>
* | Merge "adding variable bindings option to extended parameters"Zuul2019-04-093-0/+5
|\ \
| * | adding variable bindings option to extended parametersGleb Samsonov2019-04-093-0/+5
| |/ | | | | | | Change-Id: I4e9fba2da7771d1cac04bcb9818389207a6f301e
* | Merge "Add support for Packer plugin"Zuul2019-04-094-0/+57
|\ \
| * | Add support for Packer pluginAreum Cho2019-04-094-0/+57
| |/ | | | | | | | | | | Change-Id: Idcb85f53656efb07a6aafe28f60ecafd9011fab4 Co-Authored-By: Tan Heng Yeow <E0032242@u.nus.edu> Signed-off-by: Tan Heng Yeow <E0032242@u.nus.edu>
* | Merge "[jenkins-job-builder] - Add support for Generic Webhook Trigger"Zuul2019-04-0910-0/+176
|\ \ | |/ |/|
| * [jenkins-job-builder] - Add support for Generic Webhook TriggerBrian Kruger2019-02-1510-0/+176
| | | | | | | | Change-Id: Iced7c16938357a61ce566e3e0732ac2d43b0befa