Skip to content

Commit

Permalink
add desc for pomFiles parameter (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
donhui authored Oct 1, 2022
1 parent 9495063 commit 861727c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ or
```
mavenSnapshotCheck check: 'true'
```
or
or, you can customize the pomFiles parameter to check only the specified pom files
(If the pomFiles parameter is not defined, its default value is `pom.xml, * */pom.xml`)
```
mavenSnapshotCheck check: 'true', pomFiles: 'pom.xml'
mavenSnapshotCheck check: 'true', pomFiles: 'pom.xml,sub-dir/pom.xml'
```

# Bug reports
Expand Down
5 changes: 3 additions & 2 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,10 @@ step([$class: 'MavenSnapshotCheck', check: 'true'])
```
mavenSnapshotCheck check: 'true'
```
或者
或者,可以自定义 pomFiles 参数,用来只对指定的 pom 文件进行检查
(如果未定义 pomFiles 参数,它的默认值是 `pom.xml,**/pom.xml`
```
mavenSnapshotCheck check: 'true', pomFiles: 'pom.xml'
mavenSnapshotCheck check: 'true', pomFiles: 'pom.xml,sub-dir/pom.xml'
```

# Bug 报告
Expand Down

0 comments on commit 861727c

Please sign in to comment.