Fixing pipeline syntax
Change-Id: Ibcb15db50f10193eb0858f3c3749817e67d6ed77
diff --git a/tests/bbr.groovy b/tests/bbr.groovy
index 205ea82..3b0f6f9 100644
--- a/tests/bbr.groovy
+++ b/tests/bbr.groovy
@@ -71,20 +71,20 @@
}
}
}
- post {
- always {
- archiveArtifacts artifacts: '*.logs'
- step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: "teo@opennetworking.org", sendToIndividuals: false])
- }
- failure {
- sh '''
- docker logs bbsim 2>&1 | tee bbsim_failed.logs
- docker cp bbsim:/app/dhcp.logs dhcp_failed.logs
- docker cp bbsim:/var/lib/dhcp/dhcpd.leases dhcpd_leases_failed.logs
- docker cp bbsim:/app/tcpdump.logs tcpdump_failed.logs
- docker exec bbsim bbsimctl onu list > onu_list.logs
- '''
- }
+ }
+ post {
+ always {
+ archiveArtifacts artifacts: '*.logs'
+ step([$class: 'Mailer', notifyEveryUnstableBuild: true, recipients: "teo@opennetworking.org", sendToIndividuals: false])
+ }
+ failure {
+ sh '''
+ docker logs bbsim 2>&1 | tee bbsim_failed.logs
+ docker cp bbsim:/app/dhcp.logs dhcp_failed.logs
+ docker cp bbsim:/var/lib/dhcp/dhcpd.leases dhcpd_leases_failed.logs
+ docker cp bbsim:/app/tcpdump.logs tcpdump_failed.logs
+ docker exec bbsim bbsimctl onu list > onu_list.logs
+ '''
}
}
}