diff --git a/Jenkinsfile b/Jenkinsfile index 551d922..8d4520c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,13 +1,15 @@ pipeline { agent none - stage('Build') { - agent { - docker { image 'rust:alpine' } - } - steps { - sh 'export' - sh 'cargo --release build' - sh 'ls -la' + stages { + stage('Build') { + agent { + docker { image 'rust:alpine' } + } + steps { + sh 'export' + sh 'cargo --release build' + sh 'ls -la' + } } } } \ No newline at end of file