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

6
Jenkinsfile vendored
View File

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