diff --git a/jenkins/3catTw b/jenkins/3catTw index c686b17..06a6e7e 100644 --- a/jenkins/3catTw +++ b/jenkins/3catTw @@ -26,9 +26,12 @@ pipeline { # Install required packages pip install -U atproto tweety-ns playwright httpx arrow python-dotenv moviepy + # Check if FFmpeg is installed + ffmpeg -version || { echo 'FFmpeg is not installed!'; exit 1; } + # Check if moviepy is installed - python3 -c "from moviepy.editor import VideoFileClip" || { echo 'MoviePy installation failed!'; exit 1; } - + python3 -c "import moviepy.editor" || { echo 'MoviePy installation failed!'; exit 1; } + # Install the local browser binaries for this environment playwright install chromium ''' @@ -63,4 +66,4 @@ pipeline { } } } -} \ No newline at end of file +}