You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by se...@apache.org on 2023/03/31 09:59:25 UTC

[comdev-site] branch master updated: Align Git comment with comdev event script

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/comdev-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 1a90de0  Align Git comment with comdev event script
1a90de0 is described below

commit 1a90de0520488f1e730ff37595e5557d2ae751e1
Author: Sebb <se...@apache.org>
AuthorDate: Fri Mar 31 10:59:16 2023 +0100

    Align Git comment with comdev event script
---
 Jenkinsfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 07f924f..a82f450 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -86,10 +86,11 @@ pipeline {
                     """
                     
                     // Commit the changes to the target branch
-                    env.COMMIT_MESSAGE = "Updated ${DEPLOY_BRANCH} from ${BRANCH_NAME} at ${env.LAST_SHA} using ${BUILD_URL}"
+                    env.COMMIT_MESSAGE1 = "Updated ${DEPLOY_BRANCH} from ${BRANCH_NAME} at ${env.LAST_SHA}"
+                    env.COMMIT_MESSAGE2 = "Built from ${BUILD_URL}"
                     sh """
                         git add -A
-                        git commit -m "${env.COMMIT_MESSAGE}" | true
+                        git commit -m "${env.COMMIT_MESSAGE1}" -m "${env.COMMIT_MESSAGE2}" | true
                     """
                     
                     // Push the generated content for deployment