mirror of
https://github.com/SAP/jenkins-library.git
synced 2026-06-19 22:58:55 +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:
+3
-1
@@ -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
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user