summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author窦凤虎 <[email protected]>2024-09-05 07:33:32 +0000
committer窦凤虎 <[email protected]>2024-09-05 07:33:32 +0000
commitfcd285257e97eab54ca6b63005737f9ae4db4fc6 (patch)
tree13801bd6b10741a7bdbdce8b0f46d4d5d3e81947
parentfb9e4913a985685dafe569008a103447b6997eb2 (diff)
Update .gitlab-ci.ymlv24.09
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 2828e82..71a30e2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,6 +14,9 @@ build:
- echo "Building the project..."
- tar -czvf tsg-olap-troubleshooting-$VERSION.tar.gz bin/ config/ e2e-mockdata-generator/ README.md
- ls -lah
+ artifacts:
+ paths:
+ - tsg-olap-troubleshooting-$CI_COMMIT_TAG.tar.gz
only:
- tags
@@ -24,5 +27,7 @@ deploy:
- echo "Uploading to Nexus..."
- ls -lah
- curl -v -u $NEXUS_USER:$NEXUS_PASSWORD --upload-file tsg-olap-troubleshooting-$VERSION.tar.gz "$NEXUS_URL/troubleshooting/tsg-olap-troubleshooting-$VERSION.tar.gz"
+ dependencies:
+ - build
only:
- tags \ No newline at end of file