SO i'm very new to jenkins and I'm trying to use jenkins to automatically build my docker image.
- using the freestyle project
- under build step i added an execute shell
- added "docker images" (to see if docker worked)
- cont
following error:
command:
docker images
output:
/var/folders/ym/d71xv1gx4fq16slmbtkmwr680000gn/T/jenkins80660521833580 63134.sh: line 2: docker: command not found
Build step 'Execute shell' marked build as failure
Finished: FAILURE
however
if I issue the following command
/usr/local/bin/docker images -- this works
question
- How do I setup the path variable for docker so that I don't have to specify the path to the docker binary?