[Plugin] Question about oki-docki plugin

19 views
Skip to first unread message

Medy Belmokhtar

unread,
Nov 28, 2014, 3:07:20 AM11/28/14
to jenkins...@googlegroups.com
Hey guys,

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


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.
Reply all
Reply to author
Forward
0 new messages