The objective is a get the IP of the Jenkins in internal network our client.
1 - Script connect:
tell application "/Applications/Tunnelblick.app"
activate
disconnect ("name_your_network_tunnelblick")
end tell
Use Script Editor in your MAC to create script above and save for execution.
Basically you change name_your_network_tunnelblick to your network in both files (connect and disconnect)
OS Mac with AppleScript and VPN configured with Tunnelblick
1- Gitlab CI - Ready
2- Github Action - TODO