No description
Find a file
paola.rozo d69a9cf779 Revert "Printing tags"
This reverts commit d63cc42064.
2020-08-24 22:49:08 -05:00
jenkins Update Jenkinsfile 2017-12-06 12:44:06 +11:00
sources Amend/fix output for 'add2values' when function is not used correctly 2017-12-06 14:57:56 +11:00
.gitattributes Initial commit 2017-11-27 17:44:35 +11:00
.gitignore Add initial Jenkinsfile 2020-08-24 20:55:02 -05:00
Jenkinsfile Revert "Printing tags" 2020-08-24 22:49:08 -05:00
README.md Change to test deploy 2020-08-24 21:38:08 -05:00

simple-python-pyinstaller-app

This repository is for the Build a Python app with PyInstaller tutorial in the Jenkins User Documentation.

The repository contains a simple Python application which is a command line tool "add2vals" that outputs the addition of two values. If at least one of the values is a string, "add2vals" treats both values as a string and instead concatenates the values. The "add2" function in the "calc" library (which "add2vals" imports) is accompanied by a set of unit tests. These are tested with pytest to check that this function works as expected and the results are saved to a JUnit XML report.

The delivery of the "add2vals" tool through PyInstaller converts this tool into a standalone executable file for Linux, which you can download through Jenkins and execute at the command line on Linux machines without Python.

The jenkins directory contains an example of the Jenkinsfile (i.e. Pipeline) you'll be creating yourself during the tutorial.

This is a small change for the deploy testing.