Re: Jenkins docker not found

2020-02-05 Thread Simon Richter
Hi, On Wed, Feb 05, 2020 at 07:44:57AM -0800, adrian lee wrote: > however, it keeps throwing me an error > > ``` > + docker ps > /var/lib/jenkins/workspace/openFaaS_getdata@tmp/durable-270f2b11/script.sh: > line 1: docker: command not found > > ``` > I tried referencing other posts on stack o

Jenkins docker not found

2020-02-05 Thread adrian lee
Hi all, I am trying to use docker with Jenkins. I installed it as a global toolconfiguration call myDocker. I then tried to write a pipeline script as below ``` pipeline { agent any // set path stages { stage ('set docker path'){ steps{ script{