diff --git a/jenkins-dsl/cassandra_job_dsl_seed.groovy b/jenkins-dsl/cassandra_job_dsl_seed.groovy index 2daca85..9d0db95 100644 --- a/jenkins-dsl/cassandra_job_dsl_seed.groovy +++ b/jenkins-dsl/cassandra_job_dsl_seed.groovy @@ -93,7 +93,7 @@ job('Cassandra-template-artifacts') { } steps { buildDescription('', buildDescStr) - shell("git clean -xdff ; git clone -b ${buildsBranch} ${buildsRepo}") + shell("git clean -xdff ; rm -rf $HOME/.ccm/* ; git clone -b ${buildsBranch} ${buildsRepo}") } publishers { archiveArtifacts('build/*.tar.gz, build/**/eclipse_compiler_checks.txt') @@ -139,7 +139,7 @@ job('Cassandra-template-test') { } steps { buildDescription('', buildDescStr) - shell("git clean -xdff ; git clone -b ${buildsBranch} ${buildsRepo}") + shell("git clean -xdff ; rm -rf $HOME/.ccm/* ; git clone -b ${buildsBranch} ${buildsRepo}") } publishers { junit { @@ -186,7 +186,7 @@ job('Cassandra-template-dtest') { } steps { buildDescription('', buildDescStr) - shell("git clean -xdff ; git clone -b ${buildsBranch} ${buildsRepo} ; git clone ${dtestRepo}") + shell("git clean -xdff ; rm -rf $HOME/.ccm/* ; git clone -b ${buildsBranch} ${buildsRepo} ; git clone ${dtestRepo}") } publishers { archiveArtifacts('test_stdout.txt') @@ -242,7 +242,7 @@ matrixJob('Cassandra-template-cqlsh-tests') { } steps { buildDescription('', buildDescStr) - shell("git clean -xdff ; git clone -b ${buildsBranch} ${buildsRepo} ; git clone ${dtestRepo}") + shell("git clean -xdff ; rm -rf $HOME/.ccm/* ; git clone -b ${buildsBranch} ${buildsRepo} ; git clone ${dtestRepo}") } publishers { junit { @@ -410,7 +410,7 @@ job('Cassandra-devbranch-testall') { } steps { buildDescription('', buildDescStr) - shell("git clean -xdff ; git clone -b ${buildsBranch} ${buildsRepo}") + shell("git clean -xdff ; rm -rf $HOME/.ccm/* ; git clone -b ${buildsBranch} ${buildsRepo}") shell('./cassandra-builds/build-scripts/cassandra-unittest.sh test-all') } publishers { @@ -462,7 +462,7 @@ job('Cassandra-devbranch-dtest') { } steps { buildDescription('', buildDescStr) - shell("git clean -xdff ; git clone -b ${buildsBranch} ${buildsRepo} ; git clone ${dtestRepo}") + shell("git clean -xdff ; rm -rf $HOME/.ccm/* ; git clone -b ${buildsBranch} ${buildsRepo} ; git clone ${dtestRepo}") shell('./cassandra-builds/build-scripts/cassandra-dtest.sh') } publishers { @@ -520,7 +520,7 @@ matrixJob('Cassandra-devbranch-cqlsh-tests') { } steps { buildDescription('', buildDescStr) - shell("git clean -xdff ; git clone -b ${buildsBranch} ${buildsRepo} ; git clone ${dtestRepo}") + shell("git clean -xdff ; rm -rf $HOME/.ccm/* ; git clone -b ${buildsBranch} ${buildsRepo} ; git clone ${dtestRepo}") shell('./cassandra-builds/build-scripts/cassandra-cqlsh-tests.sh') } publishers {