adding siab latest and stable jobs
Change-Id: I2d58f8785d70e5f6f98efdeb9c773344c6d379ce
diff --git a/jjb/pipeline/siab.groovy b/jjb/pipeline/siab.groovy
index e6074c1..e4f7431 100644
--- a/jjb/pipeline/siab.groovy
+++ b/jjb/pipeline/siab.groovy
@@ -39,7 +39,7 @@
steps {
sh """
pushd $WORKSPACE/automation-tools/seba-in-a-box
- make -j2
+ make ${params.version} -j2
popd
"""
}
@@ -55,6 +55,19 @@
}
}
+ stage ('Display Kafka Events') {
+ steps {
+ sh """
+ pushd $WORKSPACE/automation-tools/seba-in-a-box
+ CORD_KAFKA_IP=\$(kubectl exec cord-kafka-0 -- ip a | grep -oE "([0-9]{1,3}\\.){3}[0-9]{1,3}\\b" | grep 192)
+ kafkacat -e -C -b \$CORD_KAFKA_IP -t onu.events -f 'Topic %t [%p] at offset %o: key %k: %s\n >0'
+ kafkacat -e -C -b \$CORD_KAFKA_IP -t authentication.events -f 'Topic %t [%p] at offset %o: key %k: %s\n >0'
+ kafkacat -e -C -b \$CORD_KAFKA_IP -t dhcp.events -f 'Topic %t [%p] at offset %o: key %k: %s\n >0'
+ popd
+ """
+ }
+ }
+
stage('Publish') {
steps {
sh """