pipeline { agent any stages { stage('Build') { steps { sh ''' . "$HOME/.cargo/env" trunk build --release --public-url "cool-stuff/plate-tool-beta/" ''' } } stage('Archive') { steps { zip zipFile: "dist.zip", archive: true, dir: "dist/" archiveArtifacts artifacts: "dist.zip", fingerprint: true } } } }