spacepackets/automation/Jenkinsfile
Robin Mueller 41fa073c74
Some checks failed
Rust/spacepackets/pipeline/head There was a failure building this commit
added test stage in jenkinsfile
2022-08-16 10:20:00 +02:00

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'
}
}
}
}