Code changed in jenkins
User: Andrew Bayer
Path:
pipeline-model-definition/src/main/java/org/jenkinsci/plugins/pipeline/modeldefinition/DeclarativeLinterCommand.java
pipeline-model-definition/src/main/resources/org/jenkinsci/plugins/pipeline/modeldefinition/Messages.properties
http://jenkins-ci.org/commit/pipeline-model-definition-plugin/ad5731247cfbb3f83597e9c122d04825f17d6068
Log:
[FIXED JENKINS-39923] Add a CLI endpoint for the linter
Can be used like:
```
ssh -p [sshd port on master] localhost declarative-linter < Jenkinsfile
```
Tweaks still needed for permissions (right now, it's anyone with read
access, which, I think, is OK) and possibly reading the file reading
than just taking it from stdin.
Initial PR up at https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/58