mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-30 16:06:30 +00:00
21 lines
331 B
Plaintext
21 lines
331 B
Plaintext
|
pipeline {
|
||
|
agent {
|
||
|
dockerfile {
|
||
|
filename 'Dockerfile'
|
||
|
args '-v cargo-cache:/cargocache:rw -e "CARGO_HOME=/cargocache"'
|
||
|
}
|
||
|
}
|
||
|
stages {
|
||
|
stage('Build') {
|
||
|
steps {
|
||
|
sh 'cargo build'
|
||
|
}
|
||
|
}
|
||
|
stage('Test') {
|
||
|
steps {
|
||
|
sh 'cargo test --all'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|