diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000000000000000000000000000000000000..df5113c87557e8786aa67355fb6e2d1a58d67485 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,27 @@ +pipeline { + agent { + docker { + image 'rust:latest' + } + } + + stages { + stage('Clippy') { + steps { + sh "rustup component add clippy" + sh "cargo clippy --all-targets --all-features -- -D warnings" + } + } + stage('Build') { + steps { + sh "cargo build --release" + } + } + } + + post { + always { + archiveArtifacts artifacts: 'target/release/dotacat', fingerprint: true + } + } +} \ No newline at end of file