Jenkins: Updates jenkins file to pre clean the k8s cluster
This commit updates the jenkins file to pre clean the k8s cluster before the running the integeration tests. Signed-off-by: Ashish Ranjan <aranjan@redhat.com>
This commit is contained in:
1 parent
b1e93fa7eb
commit
2238ccbfa6
1 file changed
+2
-1
Vendored
+2
-1
@@ -170,8 +170,9 @@ def RunIntegrationTest(k, v) {
|
||||
script{
|
||||
try{
|
||||
withEnv(["KUBE_VERSION=${v}"]){
|
||||
unstash 'repo-amd64'
|
||||
echo "running tests on k8s version ${v}"
|
||||
unstash 'repo-amd64'
|
||||
sh "tests/scripts/kubeadm.sh clean || 1"
|
||||
sh 'tests/scripts/makeTestImages.sh load amd64'
|
||||
sh "tests/scripts/kubeadm.sh up"
|
||||
sh '''#!/bin/bash
|
||||
|
||||
Reference in new issue
Block a user