I'm stuck trying to work on a master/agent setup, running on kubernetes.
My issue is that when I try to run my test-job (the attached Jenkinsfile), it only seems to execute on the built in container: jenkins/jnlp-slave:4.0.1-1. I don't see that execution is handed over to my custom agent (the attached Dockerfile).
I've attached the Jenkinsfile for the test-job, a redacted/amputated Dockerfile of my custom jenkins-agent, an example of the output of the test-job (job-output.txt), output taken from running the jenkins/jnlp-slave:4.0.1-1 image directly (jnlp-slave-4.0.1-1.info.txt), and my Kubernetes cloud configuration (Kubernetes-cloud-configuration.txt).
Due to corporate non-disclosure, I've had to remove some parts, but I've replaced the relevant parts with "[...]" meaningful placeholders.