Try using custom dockerfile to cut down on time for code coverage
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
All checks were successful
timw4mail/rusty-numbers/pipeline/head This commit looks good
This commit is contained in:
parent
3624b415ee
commit
f49d1798e2
3
Dockerfile
Normal file
3
Dockerfile
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
FROM rust:latest
|
||||||
|
|
||||||
|
RUN cargo install cargo-tarpaulin
|
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -1,7 +1,6 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent {
|
agent {
|
||||||
docker {
|
dockerfile {
|
||||||
image 'rust:latest'
|
|
||||||
args '-u root --privileged'
|
args '-u root --privileged'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -18,7 +17,6 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('Coverage') {
|
stage('Coverage') {
|
||||||
steps {
|
steps {
|
||||||
sh "cargo install cargo-tarpaulin"
|
|
||||||
sh "make generate-coverage"
|
sh "make generate-coverage"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user