Commit cbadbeb2 authored by nguyenvu's avatar nguyenvu

Update .gitlab-ci.yml

parent c861a701
Pipeline #6799 failed with stages
in 0 seconds
...@@ -13,7 +13,6 @@ variables: ...@@ -13,7 +13,6 @@ variables:
fe_model_branch: develop-model fe_model_branch: develop-model
environment_name: staging environment_name: staging
environment_json_path: MEU.API/Config/.env.staging.json environment_json_path: MEU.API/Config/.env.staging.json
##GIT_SUBMODULE_STRATEGY: recursive
build: build:
stage: build stage: build
...@@ -21,9 +20,10 @@ build: ...@@ -21,9 +20,10 @@ build:
- echo "Please remember that for dev environment, we use the tag 'dev' only !!!" - echo "Please remember that for dev environment, we use the tag 'dev' only !!!"
- tag=dev - tag=dev
- cicd_path=$(pwd)/$(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2) - cicd_path=$(pwd)/$(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
- cicd_url=$(grep "url" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
- cd $(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2) - cd $(grep "path" .gitmodules | cut -d "=" -f2 | cut -d " " -f2)
- ls -la - ls -la
- sudo git clone $(grep "url" .gitmodules | cut -d "=" -f2 | cut -d " " -f2) - sudo git clone $cicd_url
- ls -la - ls -la
- cd ../ - cd ../
- current_file_path=$(pwd)/MEU.API/Resources/ReleaseNotes/releasenotes.txt - current_file_path=$(pwd)/MEU.API/Resources/ReleaseNotes/releasenotes.txt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment