Added M-CORD infrastruture CNI and Clean up steps
Change-Id: I210fcd4970694dad8cb1849b18beeefb4bb5e7d9
diff --git a/Jenkinsfile-mcord-build b/Jenkinsfile-mcord-build
index 342a685..a13984b 100644
--- a/Jenkinsfile-mcord-build
+++ b/Jenkinsfile-mcord-build
@@ -41,6 +41,16 @@
return helm_deleted.toInteger() == 0
}
}
+ timout(5) {
+ dir ("helm-charts") {
+ stage("Cleanup SR-IOV CNI and SR-IOV Network Device Plugin") {
+ sh returnStdout: true, script: """
+ export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
+ kubectl delete -f mcord/cni-config/
+ """
+ }
+ }
+ }
timeout(5) {
waitUntil {
kubectl_deleted = sh returnStdout: true, script: """
@@ -51,16 +61,6 @@
}
}
}
- timout(5) {
- dir ("helm-charts") {
- stage("Cleanup SR-IOV CNI and SR-IOV Network Device Plugin") {
- sh returnStdout: true, script: """
- export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
- kubectl delete -f mcord/cni-config/
- """
- }
- }
- }
}
stage('Add Helm repositories') {
sh returnStdout: true, script: """