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

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


The following commit(s) were added to refs/heads/main by this push:
     new 71879585 ci: log number of changed files before publishing to website
71879585 is described below

commit 71879585a96681e7a5293ad4ca443f06773d5b59
Author: Claus Ibsen <[email protected]>
AuthorDate: Sun Jun 14 12:21:01 2026 +0200

    ci: log number of changed files before publishing to website
    
    Co-Authored-By: Claude Opus 4.6 <[email protected]>
---
 Jenkinsfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index f35bea73..d699dc55 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -96,6 +96,7 @@ pipeline {
                     sh "rsync -a --delete --exclude='.git' 
--exclude='.asf.yaml' $WORKSPACE/camel-website/public/ ."
                     sh 'git add -A'
                     sh "git checkout $VALID_ASF_YAML -- ./.asf.yaml" // force 
revert to commit containing the valid .asf.yml
+                    sh 'echo "Website publish: $(git diff --cached --numstat | 
wc -l | tr -d " ") files changed"'
                     sh 'git diff-index --quiet HEAD || git commit -m "Website 
updated to $GIT_COMMIT"'
                     sh 'git push origin asf-site'
                     sh 'sleep 5'

Reply via email to