message: GIT_COMMIT is not set. Use a sh command to get the sha1
diff: @@ -10,8 +10,7 @@ timeout(time: 1, unit: 'HOURS') {
  echo "VERSION: ${dependencies.VERSION}"
  gitTag = readGitTag()
  - sh 'env | sort'
  - gitSha = env.GIT_COMMIT.take(8)
  + gitSha = sh(returnStdout: true, script: 'git rev-parse HEAD > GIT_COMMIT').trim().take(8)
  version = gitTag ? "${dependencies.VERSION}-g${gitSha}" : dependencies.VERSION
  echo "tag: ${gitTag}"
  