commit | d55712af4cda804333b2148aa8946d0855e37301 | [log] [tgz] |
---|---|---|
author | Andy Bavier <andy@opennetworking.org> | Fri Oct 18 16:00:29 2019 -0700 |
committer | Andy Bavier <andy@opennetworking.org> | Fri Oct 18 23:19:52 2019 +0000 |
tree | 75e642d4a903ee3915ec882a7998d9e16989483c | |
parent | 5eeeff47a9b7fed102802c9cc491f5f4b2c71563 [diff] [blame] |
Capture logs in BBSim container before restart Change-Id: I464440172f7f96cb13b6068d605275697deeeab6
diff --git a/jjb/pipeline/voltha-bbsim-tests.groovy b/jjb/pipeline/voltha-bbsim-tests.groovy index df1f1a9..ba701f4 100644 --- a/jjb/pipeline/voltha-bbsim-tests.groovy +++ b/jjb/pipeline/voltha-bbsim-tests.groovy
@@ -181,6 +181,8 @@ do if [[ \$pod == *"-api-"* ]]; then kubectl logs \$pod arouter -n voltha > $WORKSPACE/\$pod.log; + elif [[ \$pod == "bbsim-"* ]]; then + kubectl logs \$pod -n voltha -p > $WORKSPACE/\$pod.log; else kubectl logs \$pod -n voltha > $WORKSPACE/\$pod.log; fi