diff --git a/jenkins/3catJenkinsfileTw b/jenkins/3catJenkinsfileTw index 87c9137..b36333d 100644 --- a/jenkins/3catJenkinsfileTw +++ b/jenkins/3catJenkinsfileTw @@ -14,10 +14,17 @@ pipeline { } } - stage('Install Dependencies') { + stage('Setup Python & Install Dependencies') { steps { sh ''' + # Create a virtual environment named 'venv' + python3 -m venv venv + + # Activate it and install your packages + . venv/bin/activate pip install -U atproto tweety-ns playwright httpx arrow python-dotenv -q + + # Install the local browser binaries for this environment playwright install chromium ''' }