maybe this works?
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit

This commit is contained in:
Robin Müller 2022-08-16 10:23:39 +02:00
parent 41fa073c74
commit 1bac620853
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC

View File

@ -1,47 +1,29 @@
pipeline { pipeline {
agent any
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
stages { stages {
stage('Clippy') { stage('Clippy') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps { steps {
sh 'cargo clippy' sh 'cargo clippy'
} }
} }
stage('Rustfmt') { stage('Rustfmt') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps { steps {
sh 'cargo fmt' sh 'cargo fmt'
} }
} }
stage('Test') { stage('Test') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps { steps {
sh 'cargo check' sh 'cargo test'
} }
} }
stage('Check') { stage('Check') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps { steps {
sh 'cargo check' sh 'cargo check'
} }