pipeline { agent { docker { reuseNode true image 'rust:1-bullseye' } } stages { stage('Build release binary') { steps { sh 'cargo build --release' } } stage('Profit') { steps { sh 'docker-compose down || true' sh 'docker-compose up -d --build' } } } }