-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
Kubernetes Plugin 1.29.0
Jenkins 2.263.4
Kubernetes 1.20.2
I'm seeing some inconsistencies with the example pipelines for container steps and actual observed behavior.
When I run the multi-container.groovy example pipeline, both the Maven and Go examples fail.
Maven complains that "there is no POM in this directory ( / ).". After removing the Maven example, make complains that "No rule to make target 'build'. Stop.". See attached logs.
I have tried this on multiple Jenkins instances and Kubernetes instances, and the behavior is the same on all of them. It appears that the commands running in the containers aren't running in the directory that the code was checked out to. It's not clear if this is:
- a documentation issue with the examples
- an actual functional problem
- some setup problem on my side
I think I remember this example working at some point in the past, but I can't be sure.