fix
This commit is contained in:
11
README.md
11
README.md
@@ -11,11 +11,13 @@ contains single `platforms.json` and `filter.json` file.
|
||||
|
||||
`PLATFORMS_FILTER_GIT` -> `filter.json`
|
||||
|
||||
|
||||
Next you should register this library in Jenkins -> System settings -> Global Pipeline Libraries:
|
||||
* Library name: `SHS.Platforms`
|
||||
* Default version: `master`
|
||||
* Project Repository: `https://git.shstk.ru/SHS/jenkins_lib.git`
|
||||
|
||||
|
||||
Then create pipeline job with fixed name `shstk-platforms` and set script to:
|
||||
```
|
||||
@Library('SHS.Platforms') _
|
||||
@@ -49,15 +51,6 @@ pl.copyToHost('/your/path/platforms.json')
|
||||
|
||||
## Usage
|
||||
|
||||
Prepare your local configuration (when platforms or filter changed):
|
||||
```
|
||||
@Library('SHS.Platforms') _
|
||||
node {
|
||||
def pl = new org.SHS.Platforms(this)
|
||||
pl.createLocal()
|
||||
}
|
||||
```
|
||||
|
||||
Simple:
|
||||
```
|
||||
@Library('SHS.Platforms') _
|
||||
|
||||
Reference in New Issue
Block a user