Hey guys,

I'm currently trying to use oki-docki plugin developed at docker global 
hack day by Nicolas Deloof.

Here is my repo https://github.com/bmedy/oki-docki-maven.git

In my job configuration, I have configured to build into docker with 
Dockerfile.

When I run a shell script with
pwd 
output is 

/var/lib/jenkins/jobs/oki-docki-test/workspace


When I run with
ls /
output contains my directory "/medy" created in docker container and I have 
not this directory on my jenkins vm.

And when I run a shell script with
mvn -version
output is 

/tmp/hudson4845046798923701285.sh: 2: /tmp/hudson4845046798923701285.sh: mvn: 
not found

I haven't maven in my jenkins vm but in my container it's work. And when I try 
on command line
docker exec -t bmedy/myimage mvn -version


Any idea?

Thanks

ps:
I found in Nicolas's video presentation of plugin 
https://www.youtube.com/watch?v=wsLI96sqU-Q&list=UUU4tlSFzMU3GcoibGPUqqmw&index=1
 It 
uses a docker slave but I don't have any slave.

-- 
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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/f1899551-8a7a-4bd0-937f-551b7fcd46fa%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to