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

mck pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/cassandra-builds.git

commit 3d3150124c3d6aef94f580a0f97531aa9c427f65
Author: Mick Semb Wever <m...@apache.org>
AuthorDate: Sun Apr 10 20:33:58 2022 +0200

    Use the git clone reference feature in jenkins, pointing each split's git 
clone to the first split
    
    Also clean the workspace when jobs are done.
    
     patch by Mick Semb Wever; reviewed by Ekaterina Dimitrova for 
CASSANDRA-17589
---
 jenkins-dsl/cassandra_job_dsl_seed.groovy | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/jenkins-dsl/cassandra_job_dsl_seed.groovy 
b/jenkins-dsl/cassandra_job_dsl_seed.groovy
index c2e27a7..43b6493 100644
--- a/jenkins-dsl/cassandra_job_dsl_seed.groovy
+++ b/jenkins-dsl/cassandra_job_dsl_seed.groovy
@@ -272,7 +272,7 @@ matrixJob('Cassandra-template-dtest-matrix') {
                 cleanAfterCheckout()
                 cloneOption {
                     shallow(false)
-                    reference('.')
+                    reference('../1')
                     honorRefspec(true)
                     noTags(true)
                     timeout(maxJobHours * 60)
@@ -541,6 +541,7 @@ cassandraBranches.each {
                           }
                         }
                     }
+                    cleanWs()
                 }
             }
         }
@@ -643,6 +644,7 @@ cassandraBranches.each {
                             }
                           }
                         }
+                        cleanWs()
                     }
                 }
             }
@@ -716,6 +718,7 @@ cassandraBranches.each {
                     }
                   }
                 }
+                cleanWs()
             }
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to