[skip ci] Wipe any etcd data when Jenkins CI cleanup stage (#6968)

Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
pull/6908/head^2
quicksilver 2021-08-03 15:13:24 +08:00 committed by GitHub
parent 27726e921d
commit 4e27571451
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View File

@ -46,6 +46,11 @@ pipeline {
stages {
stage('Test') {
steps {
container('etcd') {
script {
sh 'ETCDCTL_API=3 etcdctl del "" --from-key=true'
}
}
container('main') {
dir ('tests/scripts') {
script {

View File

@ -54,6 +54,11 @@ pipeline {
stages {
stage('Test') {
steps {
container('etcd') {
script {
sh 'ETCDCTL_API=3 etcdctl del "" --from-key=true'
}
}
container('main') {
dir ('tests/scripts') {
script {