I have a task created in Jenkins where a Linux bash script should be runned. There is an ipconfig inside the script to capture the ip address. The problem is when running manually in a linux terminal the commands works fine but inside Jenkins I am getting command not found. During my research about the problem, I changed to ip a command but had the same issue. Do you have an idea why this happens with jenkins?
Thanks