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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Component/s: batch-task-plugin
    • Labels:
    • Environment:
      Windows10/Python 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:38:48)
    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          danhir 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.

          Show
          danhir 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.

            People

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

              Dates

              Created:
              Updated: