no message
This commit is contained in:
@@ -25,10 +25,10 @@ build:
|
|||||||
</settings>' > $HOME/.m2/settings.xml
|
</settings>' > $HOME/.m2/settings.xml
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
name: stock-market.war
|
name: india_stock_market.jar
|
||||||
expire_in: 1 day
|
expire_in: 1 day
|
||||||
paths:
|
paths:
|
||||||
- ./target/stock-market.war
|
- ./target/india_stock_market.jar
|
||||||
script:
|
script:
|
||||||
- echo ">>>>>>Start Building<<<<<<"
|
- echo ">>>>>>Start Building<<<<<<"
|
||||||
- pwd
|
- pwd
|
||||||
@@ -36,22 +36,17 @@ build:
|
|||||||
- mvn -v
|
- mvn -v
|
||||||
- mvn clean install -Dmaven.test.skip=true
|
- mvn clean install -Dmaven.test.skip=true
|
||||||
- ls
|
- 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<<<<<<"
|
- echo ">>>>>>Finish Building<<<<<<"
|
||||||
webhook:
|
webhook:
|
||||||
stage: webhook
|
stage: webhook
|
||||||
#tags:
|
|
||||||
# - gz
|
|
||||||
only:
|
only:
|
||||||
- main
|
|
||||||
- develop
|
- develop
|
||||||
script:
|
script:
|
||||||
- echo ">>>>>>Start Deploy<<<<<<"
|
- echo ">>>>>>Start Deploy<<<<<<"
|
||||||
- ls
|
- ls
|
||||||
- apt-get update
|
- apt-get update
|
||||||
- apt-get install -y curl
|
- 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<<<<<<"
|
- echo ">>>>>>Start Deploy Finish<<<<<<"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user