.gitlab-ci.yml 446 B

12345678910111213141516171819202122232425262728293031
  1. stages:
  2. - build
  3. - test
  4. - deploy
  5. build_maven:
  6. stage: build
  7. tags:
  8. - was
  9. script:
  10. - echo "build maven....."
  11. - echo "mvn clean"
  12. - echo "done"
  13. test_springboot:
  14. stage: test
  15. tags:
  16. - was
  17. script:
  18. - echo "run java test....."
  19. - echo "java -test"
  20. - echo "done"
  21. deploy_springboot:
  22. stage: deploy
  23. tags:
  24. - was
  25. script:
  26. - echo "deploy springboot...."
  27. - echo "run mvn install"
  28. - echo "done"