I am trying to create a project using maven on teamcity and get this error during the maven build step.
[Step 2/4] Error [ERROR] protoc:
[Step 2/4] Error error [ERROR]: / bin / sh: 1: protoc: permission denied [Step 2/4] [13:03:14] [Step 2/4] The com.google target could not be completed. protobuf.tools:maven-protoc-pluginlist.1.10:compile (generate-sources) in the unit-protocol-lib: protoc project did not exit cleanly. View the output for more information.
Remember that I use docker-compose to create the teamcity agent (the agent running in the container), and protoc is added to / usr / local / bin / protoc ($ PATH has / usr / local / bin, / usr / local / bin / protoc has rwx permissions).
EDITED to facilitate
Forget about everything above. I went into the buildagent of the teamcity server, accessing the shell using /bin/sh and running the protoc command, and it will return an error:
protoc failed error: /bin/sh: 1: protoc: Permission denied
Any help?
maven docker ubuntu docker-compose teamcity
Tester
source share