Commit 3cb6f07c authored by 王华's avatar 王华

Update .gitlab-ci.yml

parent 25585109
Pipeline #61068 passed with stages
...@@ -64,12 +64,12 @@ pushSolution: ...@@ -64,12 +64,12 @@ pushSolution:
- 'git reset --hard head' - 'git reset --hard head'
- 'git clean -fd' - 'git clean -fd'
- 'git remote set-url origin "https://${GIT_ACCESS_USER}:${GIT_ACCESS_PASSWORD}@g.civnet.cn:8443/PandaSolution/civbase.git"' - 'git remote set-url origin "https://${GIT_ACCESS_USER}:${GIT_ACCESS_PASSWORD}@g.civnet.cn:8443/PandaSolution/civbase.git"'
- 'git pull origin test' - 'git pull origin'
- 'git rm -rf --ignore-unmatch "${TARGET_REPO_Solution}"' - 'git rm -rf --ignore-unmatch "${TARGET_REPO_Solution}"'
- 'robocopy "${CI_PROJECT_DIR}/../PublishTemp/civbase" "${TARGET_REPO_Solution}" /S ; - 'robocopy "${CI_PROJECT_DIR}/../PublishTemp/civbase" "${TARGET_REPO_Solution}" /S ;
IF ((${LASTEXITCODE} -le 8)) {cmd /c "exit /b 0"}' IF ((${LASTEXITCODE} -le 8)) {cmd /c "exit /b 0"}'
- 'git add . ; git commit --allow-empty -m "auto package civbase."' - 'git add . ; git commit --allow-empty -m "auto package civbase."'
- 'git push origin test' - 'git push origin'
only: only:
refs: refs:
- master - master
......
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