Test deployment to vapor with dynamic commit message from git

This commit is contained in:
Dillon Ngo
2023-11-23 14:50:12 +08:00
parent 92b4839990
commit 8852706adf
Vendored
+1 -8
View File
@@ -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}"'
}
}