script {
sh "pwd"
sh "pwd"
sh "ls /var/jenkins_home/workspace/${env.JOB_NAME}"
env.GIT_COMMIT_MSG = sh (script: 'git log -1 --pretty=%B ${GIT_COMMIT}', returnStdout: true).trim()
echo "${env.GIT_COMMIT_MSG}"
echo "${env.GIT_COMMIT_MSG}"
echo "${env.GIT_COMMIT_MSG}"
env.GIT_COMMIT = sh (script: 'git rev-parse HEAD', returnStdout: true).trim()
echo "${env.GIT_COMMIT}"
echo "${env.GIT_COMMIT}"
echo "${env.GIT_COMMIT}"
}