Jump to: navigation, search

Using Hudson/Using other shells (for ex. Python)

< Using Hudson
Revision as of 13:33, 22 March 2013 by Scott.fisher.oracle.com (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This article is a stub. It will be expanded as content is migrated from the Hudson-CIWeb site.

On Windows using cmd.exe can be a burden. Fortunately Hudson allows the use of other shells.

A different shell can be used for each "Execute shell" build step of a job - even on Windows.

Note the inline help for the "Execute shell" build step type.

Examples of "Execute shell" build steps for Windows using Python as the shell:

print 1
print 1

Note that you can also pass parameters to the shell, like:

#!python.exe -u
#From "python -h": -u     : unbuffered binary stdout and stderr (also PYTHONUNBUFFERED=x)
print 1