From 8852706adf07b937773b1d6eaebfccd35239759c Mon Sep 17 00:00:00 2001 From: Dillon Ngo Date: Thu, 23 Nov 2023 14:50:12 +0800 Subject: [PATCH] Test deployment to vapor with dynamic commit message from git --- Jenkinsfile | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index aba2a0e9..449ffe25 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,13 +27,6 @@ pipeline { } } - stage('Get Commit Message for Deployment') { - steps { - echo $GIT_COMMIT - echo $GIT_MESSAGE - } - } - stage('Install') { steps { sh 'composer update' @@ -48,7 +41,7 @@ pipeline { stage('Deploy') { steps { - sh 'vendor/bin/vapor deploy staging --message="Test Jenkins"' + sh 'vendor/bin/vapor deploy staging --message="Commit: ${GIT_COMMIT}"' } }