saving kubectl pod info in siab post actions
Change-Id: I1dcef0fb62a7be380869c357cf890e6abaa72728
diff --git a/jjb/pipeline/siab-test.groovy b/jjb/pipeline/siab-test.groovy
index cb56b00..3859454 100644
--- a/jjb/pipeline/siab-test.groovy
+++ b/jjb/pipeline/siab-test.groovy
@@ -114,6 +114,8 @@
post {
always {
sh '''
+ kubectl describe pods > $WORKSPACE/kube_pods.log
+ kubectl describe pods -n voltha > $WORKSPACE/kube_voltha_pods.log
sudo cp /var/log/containers/*.log $WORKSPACE/
sudo chown cord:cord $WORKSPACE/*log
'''
diff --git a/jjb/pipeline/siab.groovy b/jjb/pipeline/siab.groovy
index 72118eb..2ced48d 100644
--- a/jjb/pipeline/siab.groovy
+++ b/jjb/pipeline/siab.groovy
@@ -95,6 +95,8 @@
post {
always {
sh '''
+ kubectl describe pods > $WORKSPACE/kube_pods.log
+ kubectl describe pods -n voltha > $WORKSPACE/kube_voltha_pods.log
sudo cp /var/log/containers/*.log $WORKSPACE/
sudo chown cord:cord $WORKSPACE/*log
'''