Try using custom dockerfile to cut down on time for code coverage
timw4mail/rusty-numbers/pipeline/head This commit looks good
Details
timw4mail/rusty-numbers/pipeline/head This commit looks good
Details
This commit is contained in:
parent
3624b415ee
commit
f49d1798e2
|
@ -0,0 +1,3 @@
|
||||||
|
FROM rust:latest
|
||||||
|
|
||||||
|
RUN cargo install cargo-tarpaulin
|
|
@ -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