diff --git a/jenkins/3catJenkinsfileTw b/jenkins/3catJenkinsfileTw index b36333d..6079d12 100644 --- a/jenkins/3catJenkinsfileTw +++ b/jenkins/3catJenkinsfileTw @@ -42,6 +42,10 @@ pipeline { string(credentialsId: 'BSKY_3CAT_APP_PASSWORD', variable: 'BSKY_3CAT_APP_PASSWORD') ]) { sh ''' + # 1. Activate the virtual environment in THIS shell + . venv/bin/activate + + # 2. Now run the script (it will use the venv's Python and find 'arrow') python3 twitter2bsky_daemon.py \ --twitter-username "$TWITTER_USERNAME" \ --twitter-password "$TWITTER_PASSWORD" \