pipeline { agent any stages { stage('Build') { steps { sh 'cd rest-app' sh 'pip3 install -r requirements.txt' } } stage('Test') { steps { sh 'cd rest-app' sh 'python3 manage.py test' } } } }