jenkins-job-builder/jenkins_jobs
Vsevolod Fedorov e2cf69b4f4 Fix support for obsolete format of pre-scm-buildstep
'pre-scm-buildstep' wrapper has two modes:
1. Older: no 'buildsteps' element is specified. Build steps is a list under
   wrapper name. For example:

    - pre-scm-buildstep:
      - shell: echo hello
      - shell: echo bye

2. Newer: build steps specified inside 'buildsteps' mapping element:

    - pre-scm-buildsteps:
        buildsteps:
        - shell: echo hello
        - shell: echo bye

But, when 'preSCMbuildstep' plugin version is equal or higher 0.3, and first
mode is used, it fails.

Fix that.

Change-Id: I010d9f6c5e06ccd8c2723026aae2c60f79917ff4
2023-12-19 12:10:43 +03:00
..
cli Add source location and context to error messages 2023-04-04 13:35:42 +03:00
modules Fix support for obsolete format of pre-scm-buildstep 2023-12-19 12:10:43 +03: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
cached_property.py Add source location and context to error messages 2023-04-04 13:35:42 +03: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
defaults.py Story: 2010984 Fix folder tests and defaults for folders 2023-12-04 10:51:55 +03:00
dimensions.py Fix parameters overrides in dimensions specification 2023-08-16 11:54:18 +03:00
errors.py Add source location and context to error messages 2023-04-04 13:35:42 +03:00
expander.py Expand axis params before enumerating values 2023-07-04 11:41:05 +03:00
formatter.py Handle nested brace inside variable 2023-11-22 11:15:51 +03:00
job.py Story: 2010984 Fix folder tests and defaults for folders 2023-12-04 10:51:55 +03:00
loader.py Add Loader.source_dir attribute 2023-12-06 12:37:22 +03:00
loc_loader.py Add source location and context to error messages 2023-04-04 13:35:42 +03:00
macro.py Restore macros support for notifications 2023-11-22 11:33:49 +03:00
parallel.py Auto-generated output from python-black 2019-09-09 19:23:24 +01:00
position.py Add source location and context to error messages 2023-04-04 13:35:42 +03:00
project.py Add source location and context to error messages 2023-04-04 13:35:42 +03:00
registry.py Add context for macro calls 2023-11-22 12:58:37 +03:00
root_base.py Story: 2010984 Fix folder tests and defaults for folders 2023-12-04 10:51:55 +03:00
roots.py Add source location and context to error messages 2023-04-04 13:35:42 +03: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
view.py Story: 2010984 Fix folder tests and defaults for folders 2023-12-04 10:51:55 +03:00
xml_config.py Add source location and context to error messages 2023-04-04 13:35:42 +03:00
yaml_objects.py Task: 47875 2023-12-07 11:05:12 +03:00