Add jenkins uid as env var for builds
@@ -61,6 +61,7 @@ node ('master') {
// Set the ISOLATION_ID environment variable for the whole pipeline
env.ISOLATION_ID = sh(returnStdout: true, script: 'printf $BUILD_TAG | sha256sum | cut -c1-64').trim()
env.COMPOSE_PROJECT_NAME = sh(returnStdout: true, script: 'printf $BUILD_TAG | sha256sum | cut -c1-64').trim()
+ env.JENKINS_UID = sh(returnStdout: true, script: "id -u ${USER}").trim()
stage("Run Lint") {
sh 'docker build . -f docker/lint -t lint-grid:$ISOLATION_ID'
