- A simple linked list library to test GitHub-Jenkins integration & Python packaging
- Jenkins Server:
- Setup in local-machine or AWS
- Uses a Multibranch pipeline job, based on Jenkinsfile in this repo
- The build uses bash script build.sh and Docker image from ubuntu_python3
- The Jenkins job uses a Github personal access token with full repo access, to update the build status in PRs and commits
- Main build steps(
build.sh
) :- setup a python virtual environment
- start a local PyPi server to test package publish and install
- code linting using flake8 and pylint
- run unit tests written using pytest
- build and generate package
- upload the packages generated as part of build, to local Pypi server using twine
- install the package from local PyPi server