Explorar o código

Gitlab CI文件 加tags

LD %!s(int64=5) %!d(string=hai) anos
pai
achega
44e7bc063a
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      .gitlab-ci.yml

+ 6 - 0
.gitlab-ci.yml

@@ -5,6 +5,8 @@ stages:
 
 build_maven:
   stage: build
+  tags:
+    - was
   script:
     - echo "build maven....."
     - echo "mvn clean"
@@ -12,6 +14,8 @@ build_maven:
 
 test_springboot:
   stage: test
+  tags:
+    - was
   script:
     - echo "run java test....."
     - echo "java -test"
@@ -19,6 +23,8 @@ test_springboot:
 
 deploy_springboot:
   stage: deploy
+  tags:
+    - was
   script:
     - echo "deploy springboot...."
     - echo "run mvn install"