diff --git a/Jenkinsfile b/Jenkinsfile index 8f642e1..a0f2d6e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -20,20 +20,26 @@ pipeline { } } stage('Check Formatting') { - echo 'Starting format check...' - sh 'cargo fmt --check' + steps { + echo 'Starting format check...' + sh 'cargo fmt --check' + } } stage('Clippy') { - echo 'Starting linter...' - sh 'cargo clippy -- -D warnings' + steps { + echo 'Starting linter...' + sh 'cargo clippy -- -D warnings' + } } stage('Code coverage') { - echo 'Starting code coverage step...' - sh 'cargo tarpaulin --verbose --workspace' + steps { + echo 'Starting code coverage step...' + sh 'cargo tarpaulin --verbose --workspace' + } } } } - // Build and deploy will occur here probably + // Build and deploy will occur here probably } }