This project is simple Jenkins file for packaging python project - https://packaging.python.org/en/latest/tutorials/packaging-projects/
Required docker plugin.
Before upload on test.pypi.og you need to setup secretes(user:passwd) in Jenkins - https://www.jenkins.io/doc/book/pipeline/jenkinsfile/#usernames-and-passwords