pipeline { agent { dockerfile { filename 'Dockerfile.build' args '-v /var/run/docker.sock:/var/run/docker.sock' } } stages { stage('Build') { steps { sh 'DOCKER_BUILD_OPTIONS="--no-cache" ./run.sh' } post { success { archiveArtifacts artifacts: 'out/*.deb', fingerprint: true } } } } }