jenkins-job-builder/tests/yamlparser/fixtures
Thanh Ha 02e85408f0
Fix default '0' being ignored
The problem with `if default:` is that it evaluates int 0 to be
equivalent to False. If a user is passing in a int 0 then they
should be expected to receive int 0 in the case of defaults.

Change-Id: Ida1f4c68b6f9d1af5b98d633b552f038c57654cc
Signed-off-by: Thanh Ha <zxiiro@linux.com>
2018-12-05 17:59:12 +08:00
..
expand-yaml-for-template-job Allow whitespace to be significant 2015-08-11 18:31:48 +01:00
folders adopt pre-commit hooks 2018-07-12 13:40:38 +01:00
lazy-load-scripts Support lazy resolving of include yaml tags 2016-08-15 19:07:01 +01:00
other_include_path Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
python-jobs Basic folder support 2017-10-23 13:29:21 -04:00
team1-jobs/ruby-jobs Basic folder support 2017-10-23 13:29:21 -04:00
trigger_parameterized_builds Add trigger-from-child-projects option. 2018-06-08 09:06:39 +00:00
add_managed_to_desc.xml Added config options to not overwrite jobs desc 2014-04-09 23:29:14 +01:00
add_managed_to_desc.yaml Added config options to not overwrite jobs desc 2014-04-09 23:29:14 +01:00
allow_empty_variables_include.conf Added possibility to use non-existent keys 2015-03-24 19:20:49 +01:00
allow_empty_variables_include.sh Added possibility to use non-existent keys 2015-03-24 19:20:49 +01:00
allow_empty_variables_include.xml Added possibility to use non-existent keys 2015-03-24 19:20:49 +01:00
allow_empty_variables_include.yaml Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
allow_empty_variables.conf Added possibility to use non-existent keys 2015-03-24 19:20:49 +01:00
allow_empty_variables.xml Added possibility to use non-existent keys 2015-03-24 19:20:49 +01:00
allow_empty_variables.yaml Added possibility to use non-existent keys 2015-03-24 19:20:49 +01:00
complete001.xml Merge "Fix timeout wrapper version detection" 2018-02-08 20:55:26 +00:00
complete001.yaml Allow template-name in the global defaults 2018-01-16 16:00:46 +01:00
complete-raw001.xml Add support for 'raw' to inject direct xml to job configs. 2015-05-02 15:42:32 -07:00
complete-raw001.yaml Allow whitespace to be significant 2015-08-11 18:31:48 +01:00
concat_defaults001.xml Allow whitespace to be significant 2015-08-11 18:31:48 +01:00
concat_defaults001.yaml Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
concat_defaults002.xml Adding tests surrounding handling of defaults values 2015-05-27 18:24:54 +02:00
concat_defaults002.yaml Adding tests surrounding handling of defaults values 2015-05-27 18:24:54 +02:00
critical_block_complete001.xml Standardize builders docstrings and remove '\' 2015-12-07 13:00:14 +00:00
critical_block_complete001.yaml Standardize builders docstrings and remove '\' 2015-12-07 13:00:14 +00:00
custom_distri.xml Add additional documentation for passing objects to templates 2014-10-23 05:13:02 -07:00
custom_distri.yaml Add additional documentation for passing objects to templates 2014-10-23 05:13:02 -07:00
default_template_variables_id_multi.xml Support default string values for variables 2016-11-11 21:38:28 +00:00
default_template_variables_id_multi.yaml Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
deprecated-include001.xml Separate out custom yaml tags into separate classes 2015-09-18 00:37:00 +01:00
dont_overwrite_desc.conf Added config options to not overwrite jobs desc 2014-04-09 23:29:14 +01:00
dont_overwrite_desc.xml Added config options to not overwrite jobs desc 2014-04-09 23:29:14 +01:00
dont_overwrite_desc.yaml Added config options to not overwrite jobs desc 2014-04-09 23:29:14 +01:00
folders001.xml Symlink folders001.xml to deduplicate the test xml 2018-06-29 09:17:50 -04:00
folders001.yaml Basic folder support 2017-10-23 13:29:21 -04:00
folders-attribute.yaml Basic folder support 2017-10-23 13:29:21 -04:00
folders-job-name.yaml Basic folder support 2017-10-23 13:29:21 -04:00
general-example-001.xml Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
general-example-001.yaml Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
github_cancel_builds_on_update_variable001.xml Handle cancel-builds-on-update values from vars 2018-11-14 10:47:36 +02:00
github_cancel_builds_on_update_variable001.yaml Handle cancel-builds-on-update values from vars 2018-11-14 10:47:36 +02:00
github_cancel_builds_on_update_variable002.xml Handle cancel-builds-on-update values from vars 2018-11-14 10:47:36 +02:00
github_cancel_builds_on_update_variable002.yaml Handle cancel-builds-on-update values from vars 2018-11-14 10:47:36 +02:00
hipchat1.plugins_info.yaml hipchat_notif: Fix compatibility dispatch 2018-02-01 11:43:51 +01:00
hipchat1.xml hipchat_notif: Fix compatibility dispatch 2018-02-01 11:43:51 +01:00
hipchat1.yaml hipchat_notif: Fix compatibility dispatch 2018-02-01 11:43:51 +01:00
include001.xml Fix timeout wrapper version detection 2018-01-09 09:02:29 -08:00
include001.yaml Wrapper pre-scm-buildstep: added support for failOnError parameter 2017-03-28 17:10:29 +00:00
include001.yaml.inc Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include_path001.conf Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
include_path001.xml Make include_path deterministic 2015-05-31 23:04:44 +02:00
include_path001.yaml Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
include_path002.conf Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
include_path002.xml Make include_path deterministic 2015-05-31 23:04:44 +02:00
include_path002.yaml Separate out custom yaml tags into separate classes 2015-09-18 00:37:00 +01:00
include-raw001.xml Fix timeout wrapper version detection 2018-01-09 09:02:29 -08:00
include-raw001.yaml Wrapper pre-scm-buildstep: added support for failOnError parameter 2017-03-28 17:10:29 +00:00
include-raw002-cool.sh Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include-raw002-cool.zsh Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include-raw-escape001-echo-vars.sh Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include-raw-escape001.conf Use yaml local tags to support including files 2014-06-20 23:16:23 +01:00
include-raw-escape001.xml Add support for "Override Build Parameters" option in EnvInject 2014-10-22 12:26:19 +08:00
include-raw-escape001.yaml Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
include-rawunicode001-cool.sh Handle utf8 in JJB 2014-08-29 14:19:21 -07:00
include-rawunicode001.xml Handle utf8 in JJB 2014-08-29 14:19:21 -07:00
include-rawunicode001.yaml Wrapper pre-scm-buildstep: added support for failOnError parameter 2017-03-28 17:10:29 +00:00
jinja01.xml Add !include-jinja2 for rendering templates with Jinja2 2017-08-09 10:11:42 -04:00
jinja01.yaml Add !include-jinja2 for rendering templates with Jinja2 2017-08-09 10:11:42 -04:00
jinja01.yaml.inc Add !include-jinja2 for rendering templates with Jinja2 2017-08-09 10:11:42 -04:00
jinja02.xml Add !include-jinja2 for rendering templates with Jinja2 2017-08-09 10:11:42 -04:00
jinja02.yaml Add !include-jinja2 for rendering templates with Jinja2 2017-08-09 10:11:42 -04:00
jinja02.yaml.inc Add !include-jinja2 for rendering templates with Jinja2 2017-08-09 10:11:42 -04:00
jinja03.xml Always deep format Jinja2 templates 2018-02-23 11:43:21 -05:00
jinja03.yaml Always deep format Jinja2 templates 2018-02-23 11:43:21 -05:00
jinja03.yaml.inc Always deep format Jinja2 templates 2018-02-23 11:43:21 -05:00
jinja-include01.xml Add support for {% include %} in Jinja2 templates 2018-02-23 12:04:45 -05:00
jinja-include01.yaml Add support for {% include %} in Jinja2 templates 2018-02-23 12:04:45 -05:00
jinja-include01.yaml.inc Add support for {% include %} in Jinja2 templates 2018-02-23 12:04:45 -05:00
jinja-include02.xml Add support for {% include %} in Jinja2 templates 2018-02-23 12:04:45 -05:00
jinja-include02.yaml Add support for {% include %} in Jinja2 templates 2018-02-23 12:04:45 -05:00
jinja-string01.xml Add !j2 directive to allow inline Jinja2 templates 2018-02-21 20:49:22 -05:00
jinja-string01.yaml Add !j2 directive to allow inline Jinja2 templates 2018-02-21 20:49:22 -05:00
jinja-string02.xml Always deep format Jinja2 templates 2018-02-23 11:43:21 -05:00
jinja-string02.yaml Always deep format Jinja2 templates 2018-02-23 11:43:21 -05:00
jobgroups_multi_use.xml Allow whitespace to be significant 2015-08-11 18:31:48 +01:00
jobgroups_multi_use.yaml Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
lazy-load-jinja001.xml Add !include-jinja2 for rendering templates with Jinja2 2017-08-09 10:11:42 -04:00
lazy-load-jinja001.yaml Add !include-jinja2 for rendering templates with Jinja2 2017-08-09 10:11:42 -04:00
lazy-load-jobs001.conf Support lazy resolving of include yaml tags 2016-08-15 19:07:01 +01:00
lazy-load-jobs001.xml Fix timeout wrapper version detection 2018-01-09 09:02:29 -08:00
lazy-load-jobs001.yaml Support lazy resolving of include yaml tags 2016-08-15 19:07:01 +01:00
lazy-load-jobs002.xml Fix timeout wrapper version detection 2018-01-09 09:02:29 -08:00
lazy-load-jobs002.yaml Support lazy resolving of include yaml tags 2016-08-15 19:07:01 +01:00
lazy-load-jobs-copy-files.yaml.inc Support lazy resolving of include yaml tags 2016-08-15 19:07:01 +01:00
lazy-load-jobs-multi001.xml Fix timeout wrapper version detection 2018-01-09 09:02:29 -08:00
lazy-load-jobs-multi001.yaml Support lazy resolving of include yaml tags 2016-08-15 19:07:01 +01:00
lazy-load-jobs-multi002.xml Fix !include parsing with variable 2017-04-20 16:03:22 +01:00
lazy-load-jobs-multi002.yaml Fix !include parsing with variable 2017-04-20 16:03:22 +01:00
lazy-load-jobs-pre-scm-shell-ant.yaml.inc Support lazy resolving of include yaml tags 2016-08-15 19:07:01 +01:00
lazy-load-jobs-timeout.yaml.inc Support lazy resolving of include yaml tags 2016-08-15 19:07:01 +01:00
lazy-load-wrappers-1.1.yaml.inc Support lazy resolving of include yaml tags 2016-08-15 19:07:01 +01:00
lazy-load-wrappers-1.2.yaml.inc Support lazy resolving of include yaml tags 2016-08-15 19:07:01 +01:00
mask_internal_component.xml Order component retrieval to favour user defined 2015-12-12 19:09:01 +00:00
mask_internal_component.yaml Order component retrieval to favour user defined 2015-12-12 19:09:01 +00:00
project_flow_template001.xml Support additional features in Build Flow project 2015-03-03 21:53:38 +01:00
project_flow_template001.yaml Add example to demonstrate flow plugin for job-template 2015-01-06 09:07:34 +05:30
project_flow_template002.xml Update mailer plugin 2016-10-19 10:30:02 -04:00
project_flow_template002.yaml Add example to demonstrate flow plugin for job-template 2015-01-06 09:07:34 +05:30
project_flow_template003.xml Support additional features in Build Flow project 2015-03-03 21:53:38 +01:00
project_flow_template003.yaml Support additional features in Build Flow project 2015-03-03 21:53:38 +01:00
project_folder_template001.xml Fix duplicated actions field in XML for folders 2018-02-27 17:52:24 +00:00
project_folder_template001.yaml Add cloudbees folder creation support 2017-10-23 13:34:56 -04:00
project_folder_template002.xml Fix duplicated actions field in XML for folders 2018-02-27 17:52:24 +00:00
project_folder_template002.yaml Add cloudbees folder creation support 2017-10-23 13:34:56 -04:00
project_pipeline_template001.xml Add Pipeline job type and deprecate Workflow 2017-01-24 18:39:16 +03:00
project_pipeline_template001.yaml Add Pipeline job type and deprecate Workflow 2017-01-24 18:39:16 +03:00
project_pipeline_template002.xml Add Pipeline job type and deprecate Workflow 2017-01-24 18:39:16 +03:00
project_pipeline_template002.yaml Add Pipeline job type and deprecate Workflow 2017-01-24 18:39:16 +03:00
project_pipeline_template003.xml Add Pipeline job type and deprecate Workflow 2017-01-24 18:39:16 +03:00
project_pipeline_template003.yaml Add Pipeline job type and deprecate Workflow 2017-01-24 18:39:16 +03:00
project_pipeline_template004.xml Added code for lightweight-checkout 2018-03-22 09:00:50 -04:00
project_pipeline_template004.yaml Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
project_pipeline_template005.xml Add Pipeline job type and deprecate Workflow 2017-01-24 18:39:16 +03:00
project_pipeline_template005.yaml Add Pipeline job type and deprecate Workflow 2017-01-24 18:39:16 +03:00
project_pipeline_template006.xml add pipeline template using nested stage command 2018-05-23 06:09:06 +00:00
project_pipeline_template006.yaml add pipeline template using nested stage command 2018-05-23 06:09:06 +00:00
project_workflow_template001.xml Added support for the workflow job type 2015-11-24 21:18:45 +01:00
project_workflow_template001.yaml Added support for the workflow job type 2015-11-24 21:18:45 +01:00
project_workflow_template002.xml Added support for the workflow job type 2015-11-24 21:18:45 +01:00
project_workflow_template002.yaml Added support for the workflow job type 2015-11-24 21:18:45 +01:00
project_workflow_template003.xml Added support for the workflow job type 2015-11-24 21:18:45 +01:00
project_workflow_template003.yaml Added support for the workflow job type 2015-11-24 21:18:45 +01:00
project-matrix001.xml Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
project-matrix001.yaml Add support for GroovyAxis 2015-08-17 13:24:58 +02:00
project-matrix002.xml project matrix: rename variable/refactor 2017-06-22 17:07:35 +02:00
project-matrix002.yaml project matrix: rename variable/refactor 2017-06-22 17:07:35 +02:00
scm_remote_deep_bug.xml Update Git SCM so that extensions are configured correctly. 2016-06-06 13:35:04 -07:00
scm_remote_deep_bug.yaml Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
second_order_parameter_interpolation001.xml Interpolate params inside of params. 2015-01-31 10:48:58 -08:00
second_order_parameter_interpolation001.yaml Interpolate params inside of params. 2015-01-31 10:48:58 -08:00
second_order_parameter_interpolation002.xml Add trigger-from-child-projects option. 2018-06-08 09:06:39 +00:00
second_order_parameter_interpolation002.yaml Interpolate params inside of params. 2015-01-31 10:48:58 -08:00
string_join.xml Add helper tag to join arbitrary lists into strings 2018-04-12 20:36:44 +01:00
string_join.yaml Add helper tag to join arbitrary lists into strings 2018-04-12 20:36:44 +01:00
template_default_variables.xml Document template variable default values 2016-02-20 18:20:51 +00:00
template_default_variables.yaml Document template variable default values 2016-02-20 18:20:51 +00:00
template_exclude.xml Added possibility to exclude project combinations 2016-03-12 17:51:01 +00:00
template_exclude.yaml Added possibility to exclude project combinations 2016-03-12 17:51:01 +00:00
template_honor_defaults.xml Apply defaults to job-templates parameters 2014-08-22 23:35:54 +02:00
template_honor_defaults.yaml Apply defaults to job-templates parameters 2014-08-22 23:35:54 +02:00
template_ids.xml Allow id's for different templates to follow same naming 2016-02-20 18:20:51 +00:00
template_ids.yaml Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
template_override_project_level_defaults.xml Update mailer plugin 2016-10-19 10:30:02 -04:00
template_override_project_level_defaults.yaml Add test for name defaults overridden by template 2015-01-31 10:48:58 -08:00
template_without_exclude.xml Added possibility to exclude project combinations 2016-03-12 17:51:01 +00:00
template_without_exclude.yaml Added possibility to exclude project combinations 2016-03-12 17:51:01 +00:00
templates001.xml Update mailer plugin 2016-10-19 10:30:02 -04:00
templates001.yaml Show usage of job-group 2014-07-12 20:58:27 +01:00
templates002.xml Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
templates002.yaml Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
test.inc Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
unicode001.xml Handle utf8 in JJB 2014-08-29 14:19:21 -07:00
unicode001.yaml Wrapper pre-scm-buildstep: added support for failOnError parameter 2017-03-28 17:10:29 +00:00
var_applied_in_defaults.xml Test defaults honors project variables 2014-07-24 15:54:13 +00:00
var_applied_in_defaults.yaml Test defaults honors project variables 2014-07-24 15:54:13 +00:00
variable_default_values.xml Fix default '0' being ignored 2018-12-05 17:59:12 +08:00
variable_default_values.yaml Fix default '0' being ignored 2018-12-05 17:59:12 +08:00
variable_defaults.xml Document use of | character for variable defaults 2018-04-13 13:38:07 -04:00
variable_defaults.yaml Document use of | character for variable defaults 2018-04-13 13:38:07 -04:00
variable_escaping.xml Fix the formatter regex 2018-01-16 16:08:41 +01:00
variable_escaping.yaml Normalize newlines at end of file 2018-06-29 16:07:06 -04:00
yaml_anchor.xml Fix timeout wrapper version detection 2018-01-09 09:02:29 -08:00
yaml_anchor.yaml Add documentation and example on the usage of yaml anchors and aliases. 2014-10-23 12:02:37 -07:00