Open armorKing11 opened 3 years ago
https://github.com/jenkinsci/jenkinsfile-runner/issues/225 needs to be implemented to support such mode in JFR
Hi @oleg-nenashev , so can we not use just the declarative-linter
option ,ie, not specifying the the file like < /workspace/Jenkinsfile
,assuming that it is aware of the file in /workspace/Jenkinsfile
?
When i try to use the
jenkins/jenkinsfile-runner
image to validate a Jenkinsfile in cli mode as followsI either dont get any output in the console if i enter
declarative-linter
or if i use the format
declarative-linter < /workspace/Jenkinsfile
, it throws an errorCan you tell me the correct way to use the
declarative-linter
option or is this a bug ? Thanks