add automation files

This commit is contained in:
muellerr committed 2022-08-05 00:44:41 +02:00
1 parent 67bf53955c
commit fbc8f11d01
2 files changed
+49

No files matched your search

+39
View File
@@ -0,0 +1,39 @@
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('Check') {
agent {
dockerfile {
dir 'automation'
reuseNode true
}
}
steps {
sh 'cargo check'
}
}
}
}