test updates
Change-Id: I668bf9040e4b91cff9f04ca44a5ce2c3d1e11143
diff --git a/Jenkinsfile-voltha-build b/Jenkinsfile-voltha-build
index 3f25e40..04bb1a3 100644
--- a/Jenkinsfile-voltha-build
+++ b/Jenkinsfile-voltha-build
@@ -120,11 +120,10 @@
if ( params.configurePod ) {
stage('Configure ONOS Netcfg') {
timeout(1) {
- waitUntil {
sh returnStdout: true, script: """
- curl -w '\n%{http_code}' --fail -sSL --user karaf:karaf -X POST -H Content-Type:application/json http://${deployment_config.nodes[0].ip}:30120/onos/v1/network/configuration --data @voltha-system-tests/tests/data/${configFileName}-onos-netcfg.json
+ curl -sSL --user karaf:karaf -X POST -H Content-Type:application/json http://${deployment_config.nodes[0].ip}:30120/onos/v1/network/configuration --data @$WORKSPACE/voltha-system-tests/tests/data/${configFileName}-onos-netcfg.json
+ curl -sSL --user karaf:karaf -X POST http://${deployment_config.nodes[0].ip}:30120/onos/v1/applications/org.onosproject.segmentrouting/active
"""
- }
}
}
stage('Push Tech-Profile') {