pipeline { agent any stages { stage('Install Python') { steps { echo 'Installing Python...' sh 'apt-get update && apt-get install -y python3 python3-pip' } } stage('Test') { steps { echo 'Running tests...' sh 'python ./test.py' } } } }