spacepackets/automation/Jenkinsfile

33 lines
547 B
Plaintext
Raw Normal View History

2022-08-05 00:44:41 +02:00
pipeline {
2022-08-16 10:23:39 +02:00
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
2022-08-05 00:44:41 +02:00
stages {
stage('Clippy') {
steps {
sh 'cargo clippy'
}
}
stage('Rustfmt') {
steps {
sh 'cargo fmt'
}
}
2022-08-16 10:20:00 +02:00
stage('Test') {
steps {
2022-08-16 10:23:39 +02:00
sh 'cargo test'
2022-08-16 10:20:00 +02:00
}
}
2022-08-05 00:44:41 +02:00
stage('Check') {
steps {
sh 'cargo check'
}
}
}
}