jenkins-job-builder/jenkins_jobs/modules
Vsevolod Fedorov af9e03ec08 Rewrite YAML parser
Rewrite YAML parser, YAML objects and parameters expansion logic to
enable better control over expansion logic.
Broken backward compatilibity:
* More agressive parameter expansion. This may lead to parameters
  expanded in places where they were not expanded before.
* Top-level elements, which is not known to parser (such as 'job',
  'view', 'project' etc), are now lead to parse failures.
  Prepend them with underscore to be ignored by parser.
* Files included using '!include-raw:' elements and having formatting in
  it's path ('lazy-loaded' in previous implementation) are now expanded
  too.
  Use '!include-raw-escape:' for them instead.
  See changes in these tests for examples:
    tests/yamlparser/job_fixtures/lazy-load-jobs-multi001.yaml
    tests/yamlparser/job_fixtures/lazy-load-jobs-multi002.yaml
    tests/yamlparser/job_fixtures/lazy-load-jobs001.yaml
* Parameters with template value using itself were substituted as is.
  For example: "timer: '{timer}'" was expanded to "{timer}". Now it
  leads to recursive parameter error.
  See changes in this test for example:
    tests/yamlparser/job_fixtures/parameter_name_reuse_default.*
    ->
    tests/yamlparser/error_fixtures/parameter_name_reuse_default.*
* When job group includes a job which was never declared, it was just
  ignored. Now it fails: job is missing.
  See changes in this test for example:
    tests/yamlparser/job_fixtures/job_group_includes_missing_job.*
    ->
    tests/yamlparser/error_fixtures/job_group_includes_missing_job.*

Change-Id: Ief4e515f065a1b9e0f74fe06d7e94fa77d69f273
2023-02-28 20:16:57 +03:00
..
__init__.py Refactor modules and templating. 2012-08-10 16:00:42 +00:00
base.py Rewrite YAML parser 2023-02-28 20:16:57 +03:00
builders.py Tests: Rename yamlparser tests and fixture directories 2023-01-26 11:06:23 +03:00
general.py Tests: Rename yamlparser tests and fixture directories 2023-01-26 11:06:23 +03:00
helpers.py Added support of json type for extended choice parameter and related parameters. 2021-01-04 12:36:24 +03:00
hipchat_notif.py Fix flake8 BLK100 and BLK999 issues 2020-08-31 10:54:19 -04:00
hudson_model.py Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
metadata.py Update Jenkins wiki -> plugins URLs 2020-01-22 18:23:28 -05:00
notifications.py Add support for retries options in notifications 2020-11-13 15:20:22 +00:00
parameters.py Rewrite YAML parser 2023-02-28 20:16:57 +03:00
project_externaljob.py Update Jenkins wiki -> plugins URLs 2020-01-22 18:23:28 -05:00
project_flow.py Tests: Rename yamlparser tests and fixture directories 2023-01-26 11:06:23 +03:00
project_folder.py Tests: Rename yamlparser tests and fixture directories 2023-01-26 11:06:23 +03:00
project_freestyle.py Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
project_githuborg.py fix(scm): add clean options to after and before 2022-11-24 19:34:55 +01:00
project_matrix.py Tests: Rename yamlparser tests and fixture directories 2023-01-26 11:06:23 +03:00
project_maven.py Update Jenkins wiki -> plugins URLs 2020-01-22 18:23:28 -05:00
project_multibranch.py New permissions option for GitHub PR Comment Build plugin 2023-02-27 09:07:52 +01:00
project_multijob.py Enable docs-linkcheck 2020-01-06 09:50:13 -05:00
project_pipeline.py Tests: Rename yamlparser tests and fixture directories 2023-01-26 11:06:23 +03:00
project_workflow.py Tests: Rename yamlparser tests and fixture directories 2023-01-26 11:06:23 +03:00
properties.py Support for Build Failure Analyzer plugin 2023-01-16 21:34:52 +01:00
publishers.py Support for follow-symlinks in archive publisher 2023-01-16 22:06:49 +01:00
reporters.py Fix: Update sphinx version pin, fix warnings 2022-03-31 15:44:40 -07:00
scm.py fix(scm): add clean options to after and before 2022-11-24 19:34:55 +01:00
triggers.py Rewrite YAML parser 2023-02-28 20:16:57 +03:00
view_all.py Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
view_delivery_pipeline.py Adding view for the Delivery Pipeline Plugin 2020-02-07 17:35:13 +00:00
view_jobfilters.py Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
view_list.py Merge "Added missing 'BuiltOn' column for views" 2020-05-18 14:38:35 +00:00
view_nested.py Support nested views 2019-10-24 14:27:34 +02:00
view_pipeline.py Update Jenkins wiki -> plugins URLs 2020-01-22 18:23:28 -05:00
view_sectioned.py Support sectioned views 2019-10-28 23:37:27 +01:00
wrappers.py wrappers: omit blank settings for ssh-user-private-key credential 2022-06-09 16:37:50 -04:00
zuul.py Rewrite YAML parser 2023-02-28 20:16:57 +03:00