Added steps to all the parallel stages
Some checks failed
gitea/zero_to_prod/pipeline/head There was a failure building this commit

This commit is contained in:
2024-05-20 01:31:41 +02:00
parent 4c7bdfee17
commit d3d6d5fabc

20
Jenkinsfile vendored
View File

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