npm-groovy-lint
Advanced tools
Comparing version 5.5.1 to 5.6.0
# Changelog | ||
## [5.6.0] 2020-07-20 | ||
- [(#68)](https://github.com/nvuillam/npm-groovy-lint/pull/68) Generate a ready-to-use docker image when publishing new npm-groovy-lint version (by [Dave Gallant](https://github.com/davegallant)) | ||
## [5.5.1] 2020-07-15 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "npm-groovy-lint", | ||
"version": "5.5.1", | ||
"version": "5.6.0", | ||
"description": "Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -279,2 +279,44 @@ # NPM GROOVY LINT (+ Format & Auto-fix) | ||
## CALL VIA DOCKER | ||
You can run npm-groovy-lint using its docker image | ||
### Shell example | ||
```shell | ||
docker run -u "$(id -u):$(id -g)" -w=/tmp -v "$PWD":/tmp nvuillam/npm-groovy-lint | ||
``` | ||
### CircleCI example | ||
```yaml | ||
# .circleci/config.yml | ||
version: 2.1 | ||
jobs: | ||
lint: | ||
docker: | ||
- image: nvuillam/npm-groovy-lint | ||
steps: | ||
- checkout | ||
- run: | | ||
npm-groovy-lint | ||
workflows: | ||
version: 2 | ||
"lint": | ||
jobs: | ||
- lint | ||
``` | ||
### Jenkinsfile example | ||
```groovy | ||
node { | ||
checkout scm | ||
docker.image('nvuillam/npm-groovy-lint').inside { | ||
sh 'npm-groovy-lint' | ||
} | ||
} | ||
``` | ||
## CALL VIA JS MODULE | ||
@@ -325,8 +367,12 @@ | ||
[<img alt="nvuillam" src="https://avatars1.githubusercontent.com/u/17500430?v=4&s=117 width=117">](https://github.com/nvuillam) |[<img alt="docwhat" src="https://avatars1.githubusercontent.com/u/40799?v=4&s=117 width=117">](https://github.com/docwhat) |[<img alt="CatSue" src="https://avatars3.githubusercontent.com/u/26134618?v=4&s=117 width=117">](https://github.com/CatSue) |[<img alt="dependabot[bot]" src="https://avatars0.githubusercontent.com/in/29110?v=4&s=117 width=117">](https://github.com/apps/dependabot) | | ||
[<img alt="nvuillam" src="https://avatars1.githubusercontent.com/u/17500430?v=4&s=50 width=50">](https://github.com/nvuillam) |[<img alt="docwhat" src="https://avatars1.githubusercontent.com/u/40799?v=4&s=50 width=50">](https://github.com/docwhat) |[<img alt="CatSue" src="https://avatars3.githubusercontent.com/u/26134618?v=4&s=50 width=50">](https://github.com/CatSue) |[<img alt="Dave Gallant" src="https://avatars2.githubusercontent.com/u/4519234?v=4&s=50 width=50">](https://github.com/davegallant) | | ||
:---:|:---:|:---:|:---:| | ||
[nvuillam](https://github.com/nvuillam)|[docwhat](https://github.com/docwhat)|[CatSue](https://github.com/CatSue)|[dependabot[bot]](https://github.com/apps/dependabot)| | ||
[nvuillam](https://github.com/nvuillam)|[docwhat](https://github.com/docwhat)|[CatSue](https://github.com/CatSue)|[Dave Gallant](https://github.com/davegallant)| | ||
## RELEASE NOTES | ||
### [5.6.0] 2020-07-20 | ||
- [(#68)](https://github.com/nvuillam/npm-groovy-lint/pull/68) Generate a ready-to-use docker image when publishing new npm-groovy-lint version (by [Dave Gallant](https://github.com/davegallant)) | ||
### [5.5.1] 2020-07-15 | ||
@@ -333,0 +379,0 @@ |
16425382
437