mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
Test deployment to vapor with dynamic commit message from git
This commit is contained in:
Vendored
+2
-1
@@ -30,7 +30,8 @@ pipeline {
|
||||
stage('get_commit_msg') {
|
||||
steps {
|
||||
script {
|
||||
env.GIT_COMMIT_MSG = sh (script: 'git log -1 --pretty=%B ${GIT_COMMIT}', returnStdout: true).trim()
|
||||
commit = sh(returnStdout: true, script: 'git log -1 --oneline').trim()
|
||||
env.GIT_COMMIT_MSG = commit
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user