Using the Docker Plugin to run Jenkins agents in containers, I often get 
the error "Jenkins doesn't have label <agent label>" even when I have the 
template configured properly and the Docker image is already present on the 
Docker host.  I have sometimes been able to fix it by removing the image 
and re-pulling it to the host but at other times I am completely stuck.  
I've tried it using a tag and with no tag.  Has anyone else run into this?  
Do you have any hints on what it could be?

Job run log says:

Still waiting to schedule task
Jenkins doesn’t have label python


Here's my docker image
jenkins@b1e2e4c28dbd:/$ docker images
REPOSITORY                      TAG                 IMAGE ID            CREATED 
            SIZE
devmandy/python-jenkins-agent   1                   6cc6f98875bc        2 hours 
ago         991MB

A screenshot of my Jenkins config is attached. 


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" 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-users/bd8e173f-844b-4b48-9ba6-56df650b0868%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to