pipeline { agent any stages { stage('create ginx-with-tools-docker') { steps { script{ def nxinx_build ="docker build --build-arg NGINX_IMAGE=${NGINX_IMAGE} --file nginx-with-tools-docker.dockerfile -t nginx-with-tools ." sh(nxinx_build); } } } } }