Hi All, I've been mulling over my attempt to do a custom jenkins-agent for a few days now. Starting out by using the jenkinsci/jnlp-agent, and building stuff in on it from there. Creating my docker image is successful. Using the custom-agent in my ecs cluster works. Using it in my kubernetes cluster, not so much. I can see that the container spins up using "kubectl --namespace jenkins describe pods [custom-agent-instance]"
>From what I observe my custom-agent gets spun up alongside an obligatory "jenkins/jnlp-slave:4.0.1-1". AFAICT trying to do a simple "java -version" does not show the version of java that I have inside my own agent-image, but the version in the jnlp-slave image. I followed the excellent video tutorial by Marky Jackson (https://www.youtube.com/watch?v=h4hKSXjCqyI). I have even tried to do the same test "java -vertsion" with the jenkins/jnlp-slave:latest, which should show java 11. However same result as before. What am I doing wrong? Somehow pipeline does not get handed over to "my" image. Any help is appreciated Regards, Jon -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/667d4499-09b6-4bab-a8cc-85a3d61e5c46%40googlegroups.com.
