jenkins-job-builder/jenkins_jobs/__main__.py
Sorin Sbarnea 92f28a591e
Allow jjb to be called as a module
Enable us to do `python -m jenkins_jobs ...`
which avoids the need to install executable in
user path.

Tests cli execution on each supported python version.

Uses default encoding workaround only on
python2, where is needed.

Change-Id: I4cd79fd51a8309d532e0e76723ecfbbda3e1ca6f
Signed-off-by: Sorin Sbarnea <ssbarnea@redhat.com>
2018-06-19 23:25:43 +01:00

5 lines
79 B
Python

from jenkins_jobs.cli.entry import main
if __name__ == "__main__":
main()