From 7a326e6ef272c542fdfafad03fa4b28c8cef74e5 Mon Sep 17 00:00:00 2001 From: rplees Date: Fri, 1 Dec 2023 19:08:04 +0800 Subject: [PATCH 1/2] no message --- .gitlab-ci.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fb07f4d..db0fe76 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,10 +25,10 @@ build: ' > $HOME/.m2/settings.xml artifacts: - name: stock-market.war + name: india_stock_market.jar expire_in: 1 day paths: - - ./target/stock-market.war + - ./target/india_stock_market.jar script: - echo ">>>>>>Start Building<<<<<<" - pwd @@ -36,22 +36,17 @@ build: - mvn -v - mvn clean install -Dmaven.test.skip=true - ls - #- apt-get install -y curl - #- curl --max-time 20 http://43.128.20.12:11113/api/webhook/justpull?project=api\&setenv_file=alpha.sh\&publish_env=alpha - echo ">>>>>>Finish Building<<<<<<" webhook: stage: webhook - #tags: - # - gz only: - - main - develop script: - echo ">>>>>>Start Deploy<<<<<<" - ls - apt-get update - apt-get install -y curl - - curl --max-time 30 http://43.139.146.165:11113/api/webhook/justpull?project=market\&setenv_file=alpha.sh\&publish_env=alpha\&shell=deploy-alpha.sh + - curl --max-time 30 http://43.132.212.180:11113/api/webhook/justpull?project=india_stock_market\&setenv_file=alpha.sh\&publish_env=alpha\&shell=deploy-test.sh - echo ">>>>>>Start Deploy Finish<<<<<<" From 9d226490173f8d7acb0019f1068d105aa17c588f Mon Sep 17 00:00:00 2001 From: rplees Date: Fri, 1 Dec 2023 19:15:43 +0800 Subject: [PATCH 2/2] no message --- .gitlab-ci.yml | 6 +++--- pom.xml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db0fe76..e6f4525 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -25,10 +25,10 @@ build: ' > $HOME/.m2/settings.xml artifacts: - name: india_stock_market.jar + name: india_market_java.jar expire_in: 1 day paths: - - ./target/india_stock_market.jar + - ./target/india_market_java.jar script: - echo ">>>>>>Start Building<<<<<<" - pwd @@ -46,7 +46,7 @@ webhook: - ls - apt-get update - apt-get install -y curl - - curl --max-time 30 http://43.132.212.180:11113/api/webhook/justpull?project=india_stock_market\&setenv_file=alpha.sh\&publish_env=alpha\&shell=deploy-test.sh + - curl --max-time 30 http://43.132.212.180:11113/api/webhook/justpull?project=india_market_java\&setenv_file=alpha.sh\&publish_env=alpha\&shell=deploy-test.sh - echo ">>>>>>Start Deploy Finish<<<<<<" diff --git a/pom.xml b/pom.xml index c71da9c..ac329f3 100644 --- a/pom.xml +++ b/pom.xml @@ -176,7 +176,7 @@ - india_stock_market + india_market_java