You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2020/11/02 13:42:56 UTC
[camel-website] 02/03: chore: use $GIT_COMMIT for commit message
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 <zr...@apache.org>
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'
}
}