Advertisement
PandaAcademy

Jenkins shell code

Sep 22nd, 2023
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. pkill -f app.py || true
  2. virtualenv venv && . venv/bin/activate
  3. pip3 install -r requirements.txt
  4. BUILD_ID=dontKillMe nohup python3 app.py &
  5.  
  6. python3 -m pytest --cov=. --cov-report xml:test-results/coverage.xml --junitxml=test-results/pytest-report.xml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement