summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author窦凤虎 <[email protected]>2024-07-06 15:33:29 +0000
committer窦凤虎 <[email protected]>2024-07-06 15:33:29 +0000
commit98209cea2fd9a107af54875a57298414bd1df3fb (patch)
tree6add39e1f0b405f17ca677810b13f059ad06bec9
parent3b437334d7a3b5a51bf7e4f5923ff872e3b25015 (diff)
Update .gitlab-ci.ymlv2.0.2-test
-rw-r--r--.gitlab-ci.yml10
1 files changed, 3 insertions, 7 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index b23de19..3021cbe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -10,12 +10,11 @@ build:
script:
- echo 'exec mvn clean install'
- echo 'tag:' $CI_COMMIT_TAG
+ - echo "$MAVEN_SETTINGS_XML" > /usr/share/maven/conf/settings.xml
- mvn clean install -Dmaven.test.skip=true
only:
- tags
- tags:
- - galaxy
-
+
clean:
stage: clean
script:
@@ -25,8 +24,7 @@ clean:
when: on_failure
only:
- tags
- tags:
- - galaxy
+
deploy:
stage: deploy
script:
@@ -37,5 +35,3 @@ deploy:
when: on_success
only:
- tags
- tags:
- - galaxy