NarayanAdithya / poetry-jenkins-library

Jenkins Library to Automate Poetry Stages

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About

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.

Functions

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 -

About

Jenkins Library to Automate Poetry Stages

License:MIT License


Languages

Language:Groovy 100.0%