Re: I cannot run Azure CLI commands from jenkins pipeline

2021-04-08 Thread jesus fernandez
it happened to be an issue with the path, as jenkins uses its own path for its user I have not declared the path for the right user El miércoles, 7 de abril de 2021 a las 9:24:44 UTC+2, jesus fernandez escribió: > az is installed as it runs from the cmd, and it also runs if I start > jenkins f

Re: I cannot run Azure CLI commands from jenkins pipeline

2021-04-07 Thread jesus fernandez
az is installed as it runs from the cmd, and it also runs if I start jenkins from a non administrator prompt, it just do not work when starting Jenkins from a admin prompt (which I need to) El martes, 6 de abril de 2021 a las 21:22:06 UTC+2, Martin Schmude escribió: > Maybe az has not been inst

Re: I cannot run Azure CLI commands from jenkins pipeline

2021-04-06 Thread 'Martin Schmude' via Jenkins Users
Maybe az has not been installed on the system where the job is executed. Or az is not part of the PATH variable in the context of the job execution. Let the job execute "echo $env:path" before any "az ..." commands, so that it prints out its path environment variable. jesusfern...@gmail.com schri

I cannot run Azure CLI commands from jenkins pipeline

2021-04-06 Thread jesus fernandez
I am trying to run some az commands from a Jenkins pipeline which (running in Windows 10) I already used in my laptop´s Jenkins, but when trying to use it on another computer (also running w10) I get this error : ``` 11:12:47 powershell.exe : az : The term 'az' is not recognized as the name of