Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jenkins Piplines unable to check multeple dockerfiles. #83

Open
techidee opened this issue Sep 13, 2023 · 1 comment
Open

Jenkins Piplines unable to check multeple dockerfiles. #83

techidee opened this issue Sep 13, 2023 · 1 comment

Comments

@techidee
Copy link

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

@sjlangley
Copy link

Suggest you try the recursive flag, described in the readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants