pipeline { agent { dockerfile true } stages { stage('Build') { steps { sh 'cargo build' } } stage('Test') { steps { sh 'cargo test --all' } } } }