I am building a maven project on OpenShift Dedicated with S2I, but the build fails with a "Generic Build failure - check logs for details."
However, the build log shows no error.
Why is this build failing?
I am building a maven project on OpenShift Dedicated with S2I, but the build fails with a "Generic Build failure - check logs for details."
However, the build log shows no error.
Why is this build failing?
After ptrk's answer to diagnose that this is the problem: There are 2 ways to give a wildfly pod more memory on OpenShift when running:
For build memory, you can also specify it in the template:
- kind: BuildConfig
...
spec:
...
resources:
limits:
cpu: 1
memory: 1Gi
# requests:
# cpu: 1
# memory: 1Gi
Check the limits as @Graham suggested, by:
Or even go straight to edit:
Pay attention to the units, better if they are the same for each entry. Pod maximum has to be equal or more than the container max.
Half a gig for building a java app is not much for what I can tell...