Skip to content
Snippets Groups Projects
Commit d737e82d authored by Raphael Defosseux's avatar Raphael Defosseux
Browse files

CI: adding the dsTester script call

parent e9e281a4
No related branches found
No related tags found
No related merge requests found
......@@ -96,8 +96,7 @@ pipeline {
echo "Node is ${NODE_NAME}"
}
if (params.DS_Tester_Server_Flag != null) {
// Disabling locking of DsTester in development phase of pipeline
//dsT_host_flag = params.DS_Tester_Server_Flag
dsT_host_flag = params.DS_Tester_Server_Flag
if (dsT_host_flag) {
def allParametersPresent = true
if (params.DS_Tester_Server_Name == null) {
......@@ -212,7 +211,9 @@ pipeline {
steps {
lock (ds_tester_ci_resource) {
script {
sh "sleep 10"
myShCmd('cd /home/oaici/CI-dev-ops-cn5g && git clean -x -d -f > /dev/null', new_host_flag, new_host_user, new_host)
myShCmdWithLog('cd /home/oaici/CI-dev-ops-cn5g/scripts && CI_ENV=True SRC_BASE_DIR=/tmp/CI-CN5G-FED ./run-5gc.bash -pt --shark --detach --get-results --5g', 'archives/run-5g-dstester.log', new_host_flag, new_host_user, new_host)
copyFrom2ndServer('DS-TEST-RESULTS/*.tar', 'DS-TEST-RESULTS', new_host_flag, new_host_user, new_host)
}
}
}
......
......@@ -14,12 +14,15 @@ SMF_CONF[@SMF_INTERFACE_NAME_FOR_SBI@]='CI_SBI_IF_NAME'
SMF_CONF[@SMF_INTERFACE_PORT_FOR_SBI@]='80'
SMF_CONF[@SMF_INTERFACE_HTTP2_PORT_FOR_SBI@]='9090'
SMF_CONF[@SMF_API_VERSION@]='v1'
SMF_CONF[@UDM_IPV4_ADDRESS@]='127.0.0.1'
SMF_CONF[@UDM_PORT@]='80'
SMF_CONF[@UDM_API_VERSION@]='v2'
SMF_CONF[@AMF_IPV4_ADDRESS@]='CI_AMF_IP_ADDR'
SMF_CONF[@AMF_PORT@]='80'
SMF_CONF[@AMF_API_VERSION@]='v1'
SMF_CONF[@UPF_IPV4_ADDRESS@]='CI_UPF_IP_ADDR'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment