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.

.drone.yml 899B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. ---
  2. kind: pipeline
  3. type: docker
  4. name: default
  5. platform:
  6. os: linux
  7. arch: arm
  8. workspace:
  9. base: /root/maven
  10. clone:
  11. disable: true
  12. steps:
  13. - name: clone
  14. image: images.perfectable.org/git-arm32v7:2.13.1-2.26.2-r0
  15. commands:
  16. - git clone $DRONE_GIT_HTTP_URL .
  17. - git checkout $DRONE_COMMIT
  18. - name: build
  19. image: arm32v7/maven:3.6-jdk-11-slim
  20. volumes:
  21. - name: maven-config
  22. path: /m2
  23. commands:
  24. - mvn -B deploy -s /m2/settings.xml -DaltDeploymentRepository=perfectable-snapshots::default::https://maven.perfectable.org/libs-snapshot-local
  25. - name: cleanup-snapshots
  26. image: arm32v7/bash:5.0
  27. volumes:
  28. - name: maven-config
  29. path: /m2
  30. commands:
  31. - rm -rf /m2/repository/**/*-SNAPSHOT.*
  32. - rm -rf /m2/repository/**/*.lastUpdated
  33. when:
  34. status:
  35. - success
  36. - failure
  37. volumes:
  38. - name: maven-config
  39. host:
  40. path: /site/build/m2
  41. trigger:
  42. event:
  43. - push