Files
Rack/Jenkinsfile
Cameron Cordes 2b84afb12e
Some checks failed
Core Repos/Rack/pipeline/head There was a failure building this commit
Build with Rust 1.50
2021-02-15 18:15:17 -05:00

34 lines
528 B
Groovy

pipeline {
agent {
docker { image 'rust:1.50.0-alpine' }
}
stages {
stage('setup') {
steps {
sh 'rustup component add clippy'
}
}
stage('build') {
steps {
sh 'cargo build --release'
}
}
stage('lint') {
steps {
sh 'cargo clippy -- -D warnings'
}
}
stage('test') {
steps {
sh 'cargo test'
}
}
}
post {
always {
archiveArtifacts artifacts: 'target/release/rack', fingerprint: true
}
}
}