Well I just installed and I’m testing with jenkins, to perform my automated tests, which are currently with unittest and pytest, the problem arose when I run the same commands that I do out of jenkins, and I noticed that the error is with python, I researched a lot but everyone said I should add the environment variables, and I did, but I still have that error, could you help me?
Launched by user Test Running as SYSTEM Running in the workspace C: [UnitTest $ cmd /c call C:\WINDOWS\TEMP\jenkins3178157461583014590.bat C:\ python -V The system cannot run the specified program.
C: python -V
I have tried to enter the global variables inside the jenkins configuration, the PATH variable and the Python variable inside and outside the path, I also tried to do it by windows command and powershell command, I also tried to do it by a bat file and run it in the console, but I got the same problem.
Before entering the path I got the error that the command is not recognized, but then I got the error that the system cannot run the specified program.
I want to be able to run python inside the jenkins console.