pipeline { agent any stages { stage('Build') { steps { echo 'Building...' bash -c "python3.7 -m poetry install" } } stage('Test') { steps { bash -c python3.7 -m tox -e py37 } } stage('Deploy') { steps { echo 'Deploying....' } } } }