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

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

commit 77a83e46d880a55c837b0769c213f5b2ff56e1bc
Author: Zoran Regvart <[email protected]>
AuthorDate: Thu Mar 5 08:40:23 2026 +0100

    feat: push an empty commit to flush CDN cache
    
    Based on the discussion on INFRA-27679[1], one small additional
    commit/push would invalidate the CDN cache and workaround the issue of
    getting the 404 pages we've been getting.
    
    [1] https://issues.apache.org/jira/browse/INFRA-27679
---
 Jenkinsfile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index 20f15d36..8871b21b 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -100,6 +100,10 @@ pipeline {
                     sh "git checkout $STOP_SQUASH_AT -- ./.asf.yaml" // force 
revert to commit containing the valid .asf.yml
                     sh 'git commit -m "Website updated to $GIT_COMMIT"'
                     sh 'git push --force origin asf-site'
+                    sh 'echo $GIT_COMMIT > rev.txt'
+                    sh 'git add rev.txt'
+                    sh 'git commit -m "Invalidate CDN cache for $GIT_COMMIT"'
+                    sh 'git push origin asf-site'
                 }
             }
         }

Reply via email to