Child pages
  • Python Plugin
Skip to end of metadata
Go to start of metadata

Plugin Information

Plugin ID

python

Changes

In Latest Release
Since Latest Release

Latest Release
Latest Release Date
Required Core
Dependencies

1.3 (archives)
Oct 28, 2015
1.565.1

Source Code
Issue Tracking
Pull Requests
Maintainer(s)

GitHub
Open Issues
Pull Requests
R. Tyler Ballance (id: rtyler)

Usage

Installations

2016-Nov 6987
2016-Dec 6891
2017-Jan 7202
2017-Feb 7274
2017-Mar 7673
2017-Apr 7598
2017-May 7819
2017-Jun 7886
2017-Jul 7890
2017-Aug 8285
2017-Sep 8260
2017-Oct 8267

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?

Write a comment…