Ich habe Python-Plugin installiert. https://wiki.jenkins.io/display/JENKINS/Python+PluginJenkins nicht Python erkennen
Aber wenn ich einen Test-Job, bekomme ich unter Fehler als Python nicht gefunden.
Started by user uday kiran
[EnvInject] - Loading node environment variables.
Building on master in workspace C:\Program Files (x86)\Jenkins\workspace\testpy
[testpy] $ python C:\Windows\TEMP\hudson2789497398258110842.py
The system cannot find the file specified
FATAL: command execution failed
java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(Unknown Source)
at java.lang.ProcessImpl.start(Unknown Source)
Caused: java.io.IOException: Cannot run program "python" (in directory "C:\Program Files (x86)\Jenkins\workspace\testpy"): CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessBuilder.start(Unknown Source)
Jeder Vorschlag? Auch ich habe versucht, nur den Ordner, anstelle von Pfad zu exe, immer noch das gleiche Problem.
testpy ist der Job name.The Ordner vorhanden already.The Python-Datei von jenkins erzeugt hudson2789497398258110842.py wird. Es wird auch dadurch verletzt. – user2331760