|
@@ -84,10 +84,10 @@ pipeline {
|
|
|
}
|
|
|
|
|
|
if (mode == 'client') {
|
|
|
- def file = "${WORKSPACE}/${OVPN_GIT_DIR}/ip_client.txt"
|
|
|
+ file = "${WORKSPACE}/${OVPN_GIT_DIR}/ip_client.txt"
|
|
|
}
|
|
|
if (mode == 'admin') {
|
|
|
- def file = "${WORKSPACE}/${OVPN_GIT_DIR}/ip_admin.txt"
|
|
|
+ file = "${WORKSPACE}/${OVPN_GIT_DIR}/ip_admin.txt"
|
|
|
}
|
|
|
string ip = readFile(file)
|
|
|
split = ip.tokenize(".")
|