-
Bug
-
Resolution: Unresolved
-
Critical
-
Windows10/Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:38:48)
1. Create pipeline with:
node() {
bat 'py g:
pythonTest.py'
}
Where pythonTest.py contatins i.e.
#!/usr/bin/python3
print(1)
2. Run
3, Bug: Pipeline finished with error
ERROR: script returned exit code 103
Finished: FAILURE
[JENKINS-35009] ERROR: script returned exit code 103 - for Python 3 bat script
Assignee | Original: Kohsuke Kawaguchi [ kohsuke ] | New: Edgar Yu [ edgar0119 ] |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Workflow | Original: JNJira [ 171218 ] | New: JNJira + In-Review [ 185749 ] |
Status | Original: In Progress [ 3 ] | New: Open [ 1 ] |
Component/s | New: workflow-durable-task-step-plugin [ 21715 ] | |
Component/s | Original: batch-task-plugin [ 15505 ] |
Hi
I had the same problem and the problem was that I was running the JNLP agent as a windows service that was logged on as a local system account.
After changing the service to log on as my prepared and tested account the problem was solved.
To modify go to "Services ->Jenkins agent -> properties -> Log On" and type in your account.