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

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git

commit 8d4e742abe9d2b85d05e53a89283d07cad338399
Author: Zoran Regvart <[email protected]>
AuthorDate: Mon Nov 2 14:41:03 2020 +0100

    chore: use $GIT_COMMIT for commit message
    
    Otherwise we're just pointing from the `asf-site` commits to the same
    branch, and the intent would be to point to the commit on the main
    branch.
---
 Jenkinsfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 064a0bd..b4f25b9 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -90,7 +90,7 @@ pipeline {
                     sh 'git rm -r *'
                     sh "cp -R $WORKSPACE/camel-website/public/. ."
                     sh 'git add .'
-                    sh 'git commit -m "Website updated to $(git rev-parse 
--short HEAD)"'
+                    sh 'git commit -m "Website updated to $GIT_COMMIT"'
                     sh 'git push origin asf-site'
                 }
             }

Reply via email to