From e8e92c31eac08a9eaa39753cdcee2d9a3e65b5b6 Mon Sep 17 00:00:00 2001 From: me Date: Tue, 27 Jan 2026 14:48:41 +0300 Subject: [PATCH] upd --- Jenkinsfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 866e602..e2e5e69 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -27,12 +27,12 @@ pipeline { ssh -o StrictHostKeyChecking=no root@${VPS_HOST} /bin/bash << 'ENDSSH' cd /srv/fymious-tg-bot - # Create venv if needed - if [ ! -d ".venv" ]; then - python3 -m venv .venv - fi + # Remove corrupted venv and recreate + rm -rf .venv + python3 -m venv .venv # Install dependencies + .venv/bin/pip install --upgrade pip .venv/bin/pip install -r requirements.txt # Restart service