jenkins-job-builder/jenkins_jobs
Piotr Falkowski 5cea04aa2a New permissions option for GitHub PR Comment Build plugin
In version 78.v2dcf62ba199b GitHub Pull Request Comment Build Plugin
introduced permissions check for users triggering jobs with comments.
This added a new checkbox/XML element that allows untrusted users to
trigger builds.
(see https://github.com/jenkinsci/github-pr-comment-build-plugin/pull/46)

This commit adds support for this option by allowing dictionary syntax for GH PR Comment Build plugin:
 ```
 - trigger-build-on-pr-review:
    allow-untrusted-users: true
 ```
 while preserving support for currently existing syntax:
 ```
 - trigger-build-on-pr-review: true
 ```

Change-Id: I554129c779161b47cba4566f7821ef7590a242e0
2023-02-27 09:07:52 +01:00
..
cli Add config option --enabled-only 2023-02-22 09:11:00 +01:00
modules New permissions option for GitHub PR Comment Build plugin 2023-02-27 09:07:52 +01:00
sphinx Fix: Update sphinx version pin, fix warnings 2022-03-31 15:44:40 -07:00
__init__.py Refactor modules and templating. 2012-08-10 16:00:42 +00:00
__main__.py Allow jjb to be called as a module 2018-06-19 23:25:43 +01:00
alphanum.py Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
builder.py Fix flake8 BLK100 and BLK999 issues 2020-08-31 10:54:19 -04:00
cache.py Fix the yaml load warning. 2019-12-10 09:52:40 +01:00
config.py Fix flake8 BLK100 and BLK999 issues 2020-08-31 10:54:19 -04:00
constants.py Remove YamlParser from jenkins_jobs.builder 2015-04-22 11:59:07 -07:00
errors.py ModuleError exception: Fix unresolved module name case 2022-07-11 12:56:08 +03:00
formatter.py Merge "Introduce a new '!j2-yaml:' tag" 2020-09-25 15:25:31 +00:00
local_yaml.py Tests: Rename yamlparser tests and fixture directories 2023-01-26 11:06:23 +03:00
parallel.py Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
parser.py Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
registry.py Fix: Avoid LegacyVersion casting due to hyphens 2022-04-12 11:21:49 -07:00
utils.py Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
version.py Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
xml_config.py Fix: add support for fips-enabled systems using Python3.6 or greater. 2022-03-09 23:03:31 +00:00