jenkins-job-builder/tests
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
..
builders Move tests to pytest 2022-12-20 10:44:43 +03:00
cachestorage Move tests to pytest 2022-12-20 10:44:43 +03:00
cmd Merge "Rewrite YAML parser" 2023-03-02 08:49:49 +00:00
duplicates Add source location and context to error messages 2023-04-04 13:35:42 +03:00
errors Move tests to pytest 2022-12-20 10:44:43 +03:00
formatter Add Loader.source_dir attribute 2023-12-06 12:37:22 +03:00
general Story: 2010984 Fix folder tests and defaults for folders 2023-12-04 10:51:55 +03:00
githuborg Fixing ignore-tags-newer-than inverted with ignore-tags-older-than. 2023-12-17 13:10:49 +03:00
hipchat Move tests to pytest 2022-12-20 10:44:43 +03:00
jenkins_manager Update jenkins_manager/test_manager test 2022-12-20 10:44:43 +03:00
jsonparser Move tests to pytest 2022-12-20 10:44:43 +03:00
loader Add Loader.source_dir attribute 2023-12-06 12:37:22 +03:00
macros Move tests to pytest 2022-12-20 10:44:43 +03:00
moduleregistry Move tests to pytest 2022-12-20 10:44:43 +03:00
modules Move tests to pytest 2022-12-20 10:44:43 +03:00
multibranch Fixing ignore-tags-newer-than inverted with ignore-tags-older-than. 2023-12-17 13:10:49 +03:00
notifications Move tests to pytest 2022-12-20 10:44:43 +03:00
parallel Move tests to pytest 2022-12-20 10:44:43 +03:00
parameters Move some parameter tests to proper directory 2023-11-21 11:59:14 +03:00
properties Support for Build Failure Analyzer plugin 2023-01-16 21:34:52 +01:00
publishers Add discord-notifier publisher 2023-03-29 17:27:25 -03:00
reporters Add tests for 'email' reporter 2023-11-22 11:15:51 +03:00
scm Move tests to pytest 2022-12-20 10:44:43 +03:00
triggers Add tokenCredentialId parameter support to generic-webhook-trigger 2023-06-13 13:18:45 +03:00
views Move tests to pytest 2022-12-20 10:44:43 +03:00
wrappers Fix support for obsolete format of pre-scm-buildstep 2023-12-19 12:10:43 +03:00
xml_config Add source location and context to error messages 2023-04-04 13:35:42 +03:00
yamlparser Task: 47875 2023-12-07 11:05:12 +03:00
__init__.py Support for follow-symlinks in archive publisher 2023-01-16 22:06:49 +01:00
conftest.py Tests: Add ability to take several input files in one test 2023-12-07 11:05:12 +03:00
enum_scenarios.py Fixing ignore-tags-newer-than inverted with ignore-tags-older-than. 2023-12-17 13:10:49 +03:00