Skip to end of metadata
Go to start of metadata

Plugin Information

View Python on the plugin site for more information.

Adds the ability to execute python scripts as build steps. Other than that, this plugin works pretty much like the standard shell script support.

Change Log

Version 1.1 (Feb 10, 2010)
  • Update code for more recent Hudson
Version 1.0 (Jul 13, 2009)

8 Comments

  1. Forgive me if this is a stupid question, but what version of the Python interpreter does the plugin use?

  2. Any advantage of this plugin over the ShiningPanda python plugin (except being more slim)?

  3. Cool plugin . . . interesting way to support both Windows and Linux without having to think about it too much.

    It would be nice to be able to control PYTHONPATH, PYTHONUNBUFFERED . . . and perhaps some others . . . 

    Great addition.

    Thank you.

    Frank

  4. On OS X, I can already run Python build steps by simply putting the right shebang notation on the first line of the build step - i.e., "#!/usr/bin/python". (Python ships with OS X by default.) So does this plugin add any benefit over that? I'm presuming maybe it's necessary for Windows, or something?

    1. This is a good comment and question. Would be good to have it addressed in the documentation.

  5. HI, Guys

    Question I see that in Multiple conditional step i dont see Execute Python script as a step, is it expected? 

  6. Python plugin is not working.

    I have set the global tool configuration to the python folder and also with python.exe complete path.

     

    And also

    But still I am getting error as below.

    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\hudson1406167062925694166.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

     

     

    Any suggestion?