ods-quickstarters
ods-quickstarters copied to clipboard
Scala Jenkins agent runtime error in OCP4
Describe the bug
When running the Scala Jenkins agent in OCP4, the container starts and fails immediately after a FileNotFoundException
error, entering in a fail loop forever.
To Reproduce Steps to reproduce the behavior:
- Add a Scala Quickstarter to your project.
- Check the Jenkins build log.
- See error
Expected behavior To have a successful build of the Scala Jenkins agent in OCP4.
Screenshots
Affected version (please complete the following information):
- OpenShift: 4.7
- OpenDevStack (master, git commit 431e4c250b4) Log Output (ensure to remove any confidential information like tokens, project names, etc.
Log output here...
Additional context Add any other context about the problem here.
cc/ @oalyman
Do you See the same with spring/gradle? @felipecruz91
I guess in the ubi Images (you use the ubi ones??) the keystore rights changed ...
https://github.com/opendevstack/ods-core/blob/master/jenkins/agent-base/ods-run-jnlp-client.sh voila ;-)
In the Base agent.. https://github.com/opendevstack/ods-core/blob/master/jenkins/agent-base/Dockerfile.ubi8#L114
Can you bootstrap the Scala agent locally and See what permissions are set.. Maybe the javainstall overwrites this.. idea2: we have to do this in the agent as well