myDocker = docker.image('maven:3.5.3-jdk-1.8| echo a') myDocker.pull()
This will invoke docker pull and echo a which allow script injection to the system