I'm putting together a build pipeline in Jenkins using Docker containers, I want to build an image, but only if that image does not exist on the same server that Jenkins is running on. I'm after the simplest and most elegant way of doing this, but I'm struggling to come up with anything.