diff --git a/Jenkinsfile b/Jenkinsfile index 8e986fd9..d2b3edb6 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -30,6 +30,7 @@ pipeline { stage('Get Commit Message for Deployment') { steps { script { + sh 'echo $PATH' env.GIT_COMMIT_MSG = sh (script: '/usr/bin/git log -1 --pretty=%B ${GIT_COMMIT}', returnStdout: true).trim() } } @@ -49,7 +50,7 @@ pipeline { stage('Deploy') { steps { - sh 'vendor/bin/vapor deploy staging --message="Test Jenkins"' + sh 'vendor/bin/vapor deploy staging --message="Commit: ${GIT_COMMIT}"' } }