Browse Source

CI

tags/v0.1.1
Stephen 6 months ago
parent
commit
f8b7939ac4
1 changed files with 27 additions and 0 deletions
  1. +27
    -0
      Jenkinsfile

+ 27
- 0
Jenkinsfile View File

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

Loading…
Cancel
Save