Installing CNI plugin as first thing on the POD
Change-Id: Ib7b511004a3118d546d1f0d9a0ed3579f0e215ec
diff --git a/Jenkinsfile-mcord-local-build b/Jenkinsfile-mcord-local-build
index 8918e7f..3e79754 100644
--- a/Jenkinsfile-mcord-local-build
+++ b/Jenkinsfile-mcord-local-build
@@ -153,6 +153,18 @@
}
}
+
+ dir ("helm-charts") {
+ stage('Install SR-IOV CNI and SR-IOV Network Device Plugin') {
+ sh returnStdout: true, script: """
+ export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
+ kubectl apply -f mcord/cni-config/02-network-crd.yaml
+ kubectl apply -f mcord/cni-config/
+ sleep 5
+ """
+ }
+ }
+
stage('Install etcd-cluster') {
timeout(10) {
sh returnStdout: true, script: """
@@ -172,17 +184,6 @@
}
}
- dir ("helm-charts") {
- stage('Install SR-IOV CNI and SR-IOV Network Device Plugin') {
- sh returnStdout: true, script: """
- export KUBECONFIG=$WORKSPACE/${configBaseDir}/${configKubernetesDir}/${configFileName}.conf
- kubectl apply -f mcord/cni-config/02-network-crd.yaml
- kubectl apply -f mcord/cni-config/
- sleep 5
- """
- }
- }
-
// In current development progress, we prefered to keep this for testing eNodeB's functionality
stage("Install M-CORD Data Plane Services") {
sh returnStdout: true, script: """