pipeline { agent any stages { stage('Build') { steps { scm checkout sh ''' . "$HOME/.cargo/env" trunk build --release --public-url "cool-stuff/plate-tool-beta/" ''' archiveArtifacts "**/dist" } } } }