Jenkinsfile
node { checkout scm; def config = readFile \'subdir/file\' } pipeline { agent any environment { tgt = "${config.tgt}"