hadolint / hadolint-action

GitHub action for Hadolint, A Dockerfile linting tool
MIT License
192 stars 50 forks source link

Jenkins Piplines unable to check multeple dockerfiles. #83

Open techidee opened 11 months ago

techidee commented 11 months ago

Hi All,

I am running Jenkins 2.416 with Hadolint version: Haskell Dockerfile Linter 2.12.0, When i run " hadolint dockerfiles//Dockerfile | tee hadolint_lint.txt" dockerfiles/file1/Dockerfile:2:5 missing whitespace** dockerfiles/file2/Dockerfile:2:5 missing whitespace

The output resulet in as per expectations. But when i run Jenkins pipline job, It start throwing error. Please find the error below.

*+ hadolint dockerfiles-01/ hadolint: dockerfiles//Dockerfile: withBinaryFile: does not exist (No such file or directory)

Please suggest.

Thanks & Regards Pradeep Kumar