Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-35009

ERROR: script returned exit code 103 - for Python 3 bat script

      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

          mariusz m created issue -
          Edgar Yu made changes -
          Assignee Original: Kohsuke Kawaguchi [ kohsuke ] New: Edgar Yu [ edgar0119 ]
          Edgar Yu made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 171218 ] New: JNJira + In-Review [ 185749 ]

          Danijel Hir added a comment -

          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.

          Danijel Hir added a comment - 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.
          Edgar Yu made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          lacostej made changes -
          Component/s New: workflow-durable-task-step-plugin [ 21715 ]
          Component/s Original: batch-task-plugin [ 15505 ]

            edgar0119 Edgar Yu
            mariusz102102 mariusz m
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: