Jenkins denied permission to read dockerfile

I am trying to use jenkins build for a dockerized app but I get this error + make test

Running tests…

Error: [Errno 13] Permission denied: ‘/app’

make: *** [Makefile:93: test] Error 1

[Pipeline] }

[Pipeline] // stage

[Pipeline] stage

[Pipeline] { (Deploy)

Stage “Deploy” skipped due to earlier failure(s)

[Pipeline] getContext

[Pipeline] }

[Pipeline] // stage

[Pipeline] }

[Pipeline] // node

[Pipeline] End of Pipeline

ERROR: script returned exit code 2

Finished: FAILURE

hmm how should we help when you provide zero context.
All I can tell is that you seem to run make (in an shstep?) and that this throws an error.
Does it work when you run the same thing on the command line?

My pipeline is trying to access /app directory

When I try to run “make test” inside a shell in my jenkins pipeline which tries too access a /app directory, I get Error: [Errno 13] Permission denied: ‘/app’

make: *** [Makefile:93: test] Error 1

Please provide more context, like the structure of your app, your dockerized app structure, and your Jenkinsfile sample. There are many possibilities if you just provide the errors.