Robin Mueller
41fa073c74
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit
51 lines
1.0 KiB
Groovy
51 lines
1.0 KiB
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('Test') {
|
|
agent {
|
|
dockerfile {
|
|
dir 'automation'
|
|
reuseNode true
|
|
}
|
|
}
|
|
steps {
|
|
sh 'cargo check'
|
|
}
|
|
}
|
|
stage('Check') {
|
|
agent {
|
|
dockerfile {
|
|
dir 'automation'
|
|
reuseNode true
|
|
}
|
|
}
|
|
steps {
|
|
sh 'cargo check'
|
|
}
|
|
}
|
|
}
|
|
}
|