Container template not using correct version of image specified.

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.  

            Assignee:
            Carlos Sanchez
            Reporter:
            David Rodriguez
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: