pipeline { agent { docker { image 'rust:alpine' } } stages { stage('Build') { steps { sh 'cargo build' } } stage('Test') { steps { sh 'cargo test -- --nocapture' } } } }