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:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -20,19 +20,25 @@ pipeline {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('Check Formatting') {
|
stage('Check Formatting') {
|
||||||
|
steps {
|
||||||
echo 'Starting format check...'
|
echo 'Starting format check...'
|
||||||
sh 'cargo fmt --check'
|
sh 'cargo fmt --check'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage('Clippy') {
|
stage('Clippy') {
|
||||||
|
steps {
|
||||||
echo 'Starting linter...'
|
echo 'Starting linter...'
|
||||||
sh 'cargo clippy -- -D warnings'
|
sh 'cargo clippy -- -D warnings'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage('Code coverage') {
|
stage('Code coverage') {
|
||||||
|
steps {
|
||||||
echo 'Starting code coverage step...'
|
echo 'Starting code coverage step...'
|
||||||
sh 'cargo tarpaulin --verbose --workspace'
|
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