Added steps to all the parallel stages
Some checks failed
gitea/zero_to_prod/pipeline/head There was a failure building this commit
Some checks failed
gitea/zero_to_prod/pipeline/head There was a failure building this commit
This commit is contained in:
20
Jenkinsfile
vendored
20
Jenkinsfile
vendored
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user