The repository houses custom groovy scripts to be used in Jenkins Multibranch Pipeline projects that deal with Python managed using Poetry . The functions deal with setting up python environment using poetry and running basic checks like linting, bandit vulnerability tests etc.
S.No | Function | Description | Arguments |
---|---|---|---|
1 | poetryInstall() | Creates .venv and Installs Dependencies | - |
2 | poetryLint() | Linting with flake8 | - |
3 | poetryBandit() | Bandit Security Check | - |
4 | poetryTest() | Runs Pytest | - |
5 | poetryBump() | Makes Patch Update on version | - |