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:
parent
ab83e9f7b8
commit
669d91bcdd
@ -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
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user