README.md

This commit is contained in:
2023-04-25 15:27:07 +03:00
parent 122ab9619f
commit 2a653ede9f

View File

@@ -17,7 +17,7 @@ Next you should register this library in Jenkins -> System settings -> Global Pi
`org.SHS.Platforms` Class: `org.SHS.Platforms` Class:
* `get()` - download and parse `platforms.json` file from `PLATFORMS_GIT` * `get()` - download and parse `platforms.json` file from `PLATFORMS_GIT`
* `root()` - returns root JSON object of `platforms.json` * `root()` - returns root JSON object of `platforms.json`
* `forEach(func, ...)` - iterate over platforms, optional parameters: * `forEach(func, ...)` - iterate over platforms, `func` is only mandatory parameter:
* `func` - method to execute for each enabled platform, pass JSON element of current platform * `func` - method to execute for each enabled platform, pass JSON element of current platform
* `stagePrefix` - prefix string for `stage` * `stagePrefix` - prefix string for `stage`
* `stageSuffix` - sufffix string for `stage` * `stageSuffix` - sufffix string for `stage`