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 2c5cf78f8aad32c30f1528545337eb5a1fabc26a
Author: Zoran Regvart <zregv...@apache.org>
AuthorDate: Mon Nov 2 14:42:04 2020 +0100

    chore: squash all but 10 commits on asf-site
    
    To try to reduce the amount of data stored in git this squashes all but
    the initial and the last 10 commits on the asf-site when deploying.
---
 Jenkinsfile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index b4f25b9..929cab2 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -87,6 +87,7 @@ pipeline {
                 dir('deploy/staging') {
                     deleteDir()
                     sh 'git clone -b asf-site 
https://gitbox.apache.org/repos/asf/camel-website.git .'
+                    sh 'git -c core.editor="sed -i 2,/$(git log --skip=9 -1 
--pretty=format:%h)/s/^pick/squash/" rebase --interactive 
1586f65bf7f24784dc99e22aff08e44c7dbb1920' # squash all but initial and last 9 
commits
                     sh 'git rm -r *'
                     sh "cp -R $WORKSPACE/camel-website/public/. ."
                     sh 'git add .'

Reply via email to