Like lolcat, but fast
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.

26 lines
391 B

6 months ago
  1. pipeline {
  2. agent {
  3. docker {
  4. image 'rust:latest'
  5. }
  6. }
  7. stages {
  8. stage('Clippy') {
  9. steps {
  10. sh "rustup component add clippy"
  11. sh "cargo clippy --all-targets --all-features -- -D warnings"
  12. }
  13. }
  14. stage('Build') {
  15. steps {
  16. sh "cargo build --release"
  17. }
  18. }
  19. }
  20. post {
  21. always {
  22. archiveArtifacts artifacts: 'target/release/dotacat', fingerprint: true
  23. }
  24. }
  25. }