va108xx/automation/Jenkinsfile
Robin Mueller 952ec3738b
All checks were successful
Rust/va108xx-rs/pipeline/head This commit looks good
EGit integration
- Added automation files for CI/CD
- Relicense as Apache 2.0
2021-11-23 10:34:25 +01:00

39 lines
813 B
Groovy

pipeline {
agent any
stages {
stage('Clippy') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps {
sh 'cargo clippy'
}
}
stage('Rustfmt') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps {
sh 'cargo fmt'
}
}
stage('Build') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps {
sh 'cargo build'
}
}
}
}