If you're a Python developer who uses Jenkins to build your project, how do you do this and what technologies do you utilise to help build your Python project?

89 views
Skip to first unread message

Giles Gaskell

unread,
Sep 25, 2017, 1:05:48 AM9/25/17
to Jenkins Users

Hi everyone,


My name is Giles Gaskell and I recently joined CloudBees as a technical writer (based in Sydney, Australia).


Just a bit about me first - I'm reasonably new to Jenkins (including its documentation), but I've had some degree of experience in using CI/CD tools and a little user experience with Jenkins. I've had more experience using Atlassian Bamboo in the past (when I worked at Atlassian).


One project I'd like to address is the addition of some entry-level tutorials into the Jenkins User Documentation (https://jenkins.io/doc/), which I’ve discussed in more detail in this post (in the Jenkins Documentation Google Group).


Each of these tutorials will be geared towards to different technology stack (i.e. Java with Maven, Node.js, Python, etc.), such that one of these tutorials would be How to use Jenkins to build a Python project.


As I have limited Python development experience and am not familiar with the latest Python project building technologies, I was hoping that some members of this Jenkins Users Google Group may wish to share any information about how they build their Python projects (using Jenkins).


I’m hoping that this information and any tips will help better gear the development of Jenkins documentation for Python developers.


Many thanks,

Giles.

Björn Rohlén

unread,
Sep 25, 2017, 12:33:46 PM9/25/17
to Jenkins Users
Oh, this is great! Thank you Giles!

The Java/C++/NodeJS/Chromedriver/et. al with SonarCube, Nexus2/3 and Coverity integration took a while along with Jira/Bitbucket/Crowd/Confluence (you might recognize those), so Python have been put "on hold" until now

Considering I'm about to take the plunge on Jenkins and Python 3.6 (now when PyInstaller 3.3 is released with 3.6-support last friday), I will follow this thread and put in any experiences of my own -- with pleasure.

Thanks again!

Giles Gaskell

unread,
Sep 26, 2017, 8:29:30 PM9/26/17
to Jenkins Users
Hello Björn,

You're welcome and thanks for your response and the encouragement!

I do recognize those products - in particular those in the 2nd set you mentioned ;-)

Anyway, when you've had the opportunity to build any Python work with Jenkins, do feel free to share your experiences here in this thread.

Thank you and best regards,
Giles.

Giles Gaskell

unread,
Dec 15, 2017, 2:19:01 AM12/15/17
to Jenkins Users
Hello Björn,

I'm not sure if you've already subscribed to the Jenkins Documentation Google Group, but in case you haven't yet seen it, we recently published a tutorial to demonstrate the CI/CD process of delivering a Python application using Jenkins (https://jenkins.io/doc/tutorials/build-a-python-app-with-pyinstaller/).

The tutorial compiles a Python application to byte code (i.e. a .pyc file), unit tests it with py.test, publishes the results of the JUnit XML output back to Jenkins (so you can see the success of the test results through the 'Tests' tab in Blue Ocean) and finally builds a self-contained Linux executable of the Python application using PyInstaller, which you can download from Jenkins.

Best regards,
GIles
Reply all
Reply to author
Forward
0 new messages