From d3d6d5fabc7089e473b3cd8ca4c35581ba73c20f Mon Sep 17 00:00:00 2001 From: Philippe Zwietering Date: Mon, 20 May 2024 01:31:41 +0200 Subject: [PATCH] Added steps to all the parallel stages --- Jenkinsfile | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) 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 } }