From 0511f0a0875a7c3aa133b8613aa53df72ab1b8f7 Mon Sep 17 00:00:00 2001 From: Guillem Hernandez Sola Date: Thu, 7 May 2026 09:27:29 +0200 Subject: [PATCH] Fix --- jenkins/dijous | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/jenkins/dijous b/jenkins/dijous index 3d195a0..37d4e4b 100644 --- a/jenkins/dijous +++ b/jenkins/dijous @@ -19,21 +19,19 @@ pipeline { stages { stage('Install dependencies') { steps { - # Create a virtual environment named 'venv' - python3 -m venv venv - - # Activate the virtual environment and install dependencies - . venv/bin/activate && \ - pip install --upgrade pip && \ - pip install --quiet atproto + sh """ + python3 -m venv venv + . venv/bin/activate + pip install --upgrade pip --quiet + pip install --quiet atproto + """ } } stage('Post Dijous') { steps { sh """ - # Activate the virtual environment and run the script - . venv/bin/activate && \ + . venv/bin/activate python3 bsky_post.py "FeliƧ dijous!!!!" \\ --username "\$BSKY_HANDLE" \\ --password "\$BSKY_APP_PASSWORD" \\