I'm running Jenkins 1.609.1 with docker-plugin 0.10.0 to provision jenkins docker slave. Docker is 1.0.1 running on Ubuntu 14.04.
I've created a customized docker images based on evarga/jenkins-slave per instruction on https://wiki.jenkins-ci.org/display/JENKINS/Docker+Plugin ("Shortcut : Pulling a Docker image").
In my Jenkins configuration I've:
my/jenkins:0.1) image using supervisord to run SSH, MySQL, Postgres, ElasticSearch, PHP and NodeJS insidemy/jenkins:0.1) and provided the launch method via "Docker SSH launcher"In the job configuration:
When I run the job, only the git checkout is performed, but not on the slave but directly on the host:
Started by user MyUser
Building in workspace /var/lib/jenkins/workspace/Project-Core
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url g...@github.com:MyUser/Project-Core.git # timeout=10
Fetching upstream changes from g...@github.com:MyUser/Project-Core.git
> git --version # timeout=10
using GIT_SSH to set credentials
> git -c core.askpass=true fetch --tags --progress g...@github.com:MyUser/Project-Core.git +refs/heads/*:refs/remotes/origin/*
> git rev-parse refs/remotes/origin/master^{commit} # timeout=10
> git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
Checking out Revision 96dcbc7aa615451448184493c499c14eeb7050cc (refs/remotes/origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f 96dcbc7aa615451448184493c499c14eeb7050cc
> git rev-list 1405ab6d96a395e53c80f6d7353e11bea93675bc # timeout=10
Finished: SUCCESS
There's no sign of even trying to provision the docker slave.
What am I missing?
thanks in advance,
- Markus
--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/22326685-942f-49ea-b513-0a14cd98d9bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You'll need to restrict the job to the label you gave in the Image configuration section (mylabel in your case)I haven't used the "Docker Container" option but I think that is for when you want to save the container for future use after the job run is complete.
--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/01ba4619-4b12-4b15-9aea-437464bea88e%40googlegroups.com.