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
..
2012-08-10 16:00:42 +00:00
2018-06-19 23:25:43 +01:00
2020-08-31 10:54:19 -04:00
2019-12-10 09:52:40 +01:00
2020-08-31 10:54:19 -04:00
2023-12-06 12:37:22 +03:00
2023-11-22 12:58:37 +03:00
2023-12-07 11:05:12 +03:00