def build_jnlp_docker_image(self):
    with self.stage('Build JNLP Slave Docker Image') as s:
        img_tag = DOCKER_IMG_TAG.format(version=self.vars.version)
        s.run_cmd('docker', 'build', '--build-arg', 'LMCTL_VERSION={version}'.format(version=self.vars.version), '-t', img_tag, DOCKER_IMG_PATH)
def build_jnlp_docker_image(self):
    with self.stage('Build JNLP Slave Docker Image') as s:
        img_tag = DOCKER_IMG_TAG.format(version=self.vars.version)
        s.run_cmd('docker', 'build', '--build-arg', 'LMCTL_VERSION={version}'.format(version=self.vars.version), '-t', img_tag, DOCKER_IMG_PATH)