Easier Java reflections
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.

42 lines
720B

  1. ---
  2. kind: pipeline
  3. type: docker
  4. name: default
  5. platform:
  6. os: linux
  7. arch: arm
  8. workspace:
  9. base: /maven/
  10. steps:
  11. - name: build
  12. image: arm32v7/maven:3.6-jdk-11-slim
  13. volumes:
  14. - name: maven-config
  15. path: /root/.m2
  16. commands:
  17. - mvn -B deploy -DaltDeploymentRepository=perfectable-snapshots::default::https://maven.perfectable.org/libs-snapshot-local
  18. - name: cleanup-snapshots
  19. image: arm32v7/bash:5.0
  20. volumes:
  21. - name: maven-config
  22. path: /root/.m2
  23. commands:
  24. - rm -rf /root/.m2/repository/**/*-SNAPSHOT.*
  25. - rm -rf /root/.m2/repository/**/*.lastUpdated
  26. when:
  27. status:
  28. - success
  29. - failure
  30. volumes:
  31. - name: maven-config
  32. host:
  33. path: /site/build/m2
  34. trigger:
  35. branch:
  36. - master