LD 5 anni fa
parent
commit
cb02edce30
1 ha cambiato i file con 25 aggiunte e 0 eliminazioni
  1. 25 0
      .gitlab-ci.yml

+ 25 - 0
.gitlab-ci.yml

@@ -0,0 +1,25 @@
+stages:
+  - build
+  - test
+  - deploy
+
+build_maven:
+  stage: build
+  script:
+    - echo "build maven....."
+    - echo "mvn clean"
+    - echo "done"
+
+test_springboot:
+  stage: test
+  script:
+    - echo "run java test....."
+    - echo "java -test"
+    - echo "done"
+
+deploy_springboot:
+  stage: deploy
+  script:
+    - echo "deploy springboot...."
+    - echo "run mvn install"
+    - echo "done"