Commit 8d523a5f authored by 邓晓峰's avatar 邓晓峰

feat: add .gitllab-ci.yml

parent 9cb80dc6
Pipeline #21351 passed with stages
in 20 seconds
variables: variables:
TARGET_REPO_2021: "F:/CIV_CI/CivWebPublish2021_CIVWeb5/CivWebPublish2021/" TARGET_REPO_2021: "F:/CIV_CI/CivWebPublish2021_CIVWeb5/CivWebPublish2021/"
TARGET_REPO_2020: "F:/CIV_CI/CivWebPublish2021_CIVWeb5/CivWebPublish2020" TARGET_REPO_2020: "F:/CIV_CI/CivWebPublish2021_CIVWeb5/CivWebPublish2020/"
TARGET_REPO_2019: "F:/CIV_CI/CivWebPublish2021_CIVWeb5/CivWebPublish/" TARGET_REPO_2019: "F:/CIV_CI/CivWebPublish2021_CIVWeb5/CivWebPublish/"
before_script: before_script:
...@@ -37,7 +37,7 @@ package: ...@@ -37,7 +37,7 @@ package:
- master - master
when: manual when: manual
pushs: push_2021:
variables: variables:
GIT_STRATEGY: none GIT_STRATEGY: none
stage: push stage: push
...@@ -49,7 +49,7 @@ pushs: ...@@ -49,7 +49,7 @@ pushs:
- 'git pull origin map' - 'git pull origin map'
- 'robocopy "${CI_PROJECT_DIR}/../CivWebPublish2021/civmanage" "${TARGET_REPO_2021}/civmanage" /S ; - 'robocopy "${CI_PROJECT_DIR}/../CivWebPublish2021/civmanage" "${TARGET_REPO_2021}/civmanage" /S ;
IF ((${LASTEXITCODE} -le 8)) {cmd /c "exit /b 0"}' IF ((${LASTEXITCODE} -le 8)) {cmd /c "exit /b 0"}'
- 'git add . ; git reset HEAD Web.config CityInterface/Web.config CityWebFW/Web.config ; git commit -m "auto package CivWeb5."' - 'git add . ; git reset HEAD Web.config CityInterface/Web.config CityWebFW/Web.config ; git commit -m "auto package civmanage."'
#- 'git push origin map' #- 'git push origin map'
only: only:
......
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