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

          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.

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

              Created:
              Updated: