For managing web proxies across different projects/processes
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
518 B

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
  1. pipeline {
  2. agent {
  3. docker {
  4. image 'rust:latest'
  5. }
  6. }
  7. stages {
  8. stage('Rustfmt') {
  9. steps {
  10. sh "rustup component add rustfmt"
  11. sh "cargo fmt -- --check"
  12. }
  13. }
  14. stage('Clippy') {
  15. steps {
  16. sh "rustup component add clippy"
  17. sh "cargo clippy --all-targets --all-features -- -D warnings"
  18. }
  19. }
  20. stage('Build') {
  21. steps {
  22. sh "cargo install cargo-deb"
  23. sh "cargo deb"
  24. }
  25. }
  26. }
  27. post {
  28. always {
  29. archiveArtifacts artifacts: 'target/debian/*.deb', fingerprint: true
  30. }
  31. }
  32. }