-
Bug
-
Resolution: Duplicate
-
Blocker
-
None
I have update the version of the image I am using for my container and it's not being used when Jenkins spins up the slave. I have the following
```
containerTemplate(name: 'embedded-builder', image: 'embedded-builder:1.1.4', envVars: [envVar(key: 'BRANCH_NAME', value: "$BRANCH_NAME"),envVar(key: 'J_CREDS_IDS', value: "$J_CREDS_IDS")], ttyEnabled: true, command: 'cat', alwaysPullImage: true, workingDir: '/home/jenkins')```
But when the job runs I describe the slave pod and I see that the container is using an older version.
``` Normal Pulling 1m kubelet, ip-172-20-103-179.ec2.internal pulling image "embedded-builder:1.1.2"
Normal Pulled 1m kubelet, ip-172-20-103-179.ec2.internal Successfully pulled image "embedded-builder:1.1.2"```
I have tried restarting jenkins, switching the image version to be latest and nothing seems to be making it budge. Any thoughts on what to try would be greatly appreciated.
- duplicates
-
JENKINS-47759 Updating podTemplate does not immediately come into effect.
- Resolved