pipeline { agent any stages { stage('Build release binary') { agent { docker { reuseNode true image 'rust:1-bullseye' } } steps { sh 'cargo build --release' } } stage('Build tailwind') { agent { docker { image 'node:22' } } steps { sh 'npm i -g pnpm' sh 'pnpm i' sh 'pnpm build' } } stage('Profit') { steps { sh 'docker-compose down || true' sh 'docker-compose up -d --build' } } } }