1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2025-01-30 05:59:39 +02:00

Provide more than one step via cli

elements 2 until end are considered to be step names.

the first two elements denotes the folder containing the steps (vars) and
the folder containing the docu markdown files.
This commit is contained in:
Marcus Holl 2018-12-20 16:02:20 +01:00
parent ab83e9f7b8
commit 669d91bcdd

View File

@ -351,7 +351,9 @@ stepsDocuDir = stepsDocuDir ?: new File('documentation/docs/steps')
if(args.length >= 3)
steps << args[2]
steps = (args as List).drop(2) // the first two entries are stepsDir and docuDir
// the other parts are considered as step names
// assign parameters
//