Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivWeb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
CivWeb
Commits
8388427c
Commit
8388427c
authored
2 years ago
by
罗剑
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update .gitlab-ci.yml
parent
3cb6f07c
Pipeline
#61084
failed with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
.gitlab-ci.yml
.gitlab-ci.yml
+2
-4
No files found.
.gitlab-ci.yml
View file @
8388427c
...
...
@@ -64,12 +64,12 @@ pushSolution:
-
'
git
reset
--hard
head'
-
'
git
clean
-fd'
-
'
git
remote
set-url
origin
"https://${GIT_ACCESS_USER}:${GIT_ACCESS_PASSWORD}@g.civnet.cn:8443/PandaSolution/civbase.git"'
-
'
git
pull
origin'
-
'
git
pull
origin
-master
'
-
'
git
rm
-rf
--ignore-unmatch
"${TARGET_REPO_Solution}"'
-
'
robocopy
"${CI_PROJECT_DIR}/../PublishTemp/civbase"
"${TARGET_REPO_Solution}"
/S
;
IF
((${LASTEXITCODE}
-le
8))
{cmd
/c
"exit
/b
0"}'
-
'
git
add
.
;
git
commit
--allow-empty
-m
"auto
package
civbase."'
-
'
git
push
origin'
-
'
git
push
origin
-master
'
only
:
refs
:
-
master
...
...
@@ -87,14 +87,12 @@ push2021:
-
'
git
reset
--hard
head'
-
'
git
clean
-fd'
-
'
git
remote
set-url
origin
"https://${GIT_ACCESS_USER}:${GIT_ACCESS_PASSWORD}@g.civnet.cn:8443/CivPublish/CivWebPublish2021.git"'
#- 'git pull origin map --allow-unrelated-histories'
-
'
git
pull
origin
map'
-
'
git
rm
-rf
"${TARGET_REPO_2021}/civbase"'
-
'
robocopy
"${CI_PROJECT_DIR}/../PublishTemp/civbase"
"${TARGET_REPO_2021}/civbase"
/S
;
IF
((${LASTEXITCODE}
-le
8))
{cmd
/c
"exit
/b
0"}'
-
'
git
add
.
;
git
reset
HEAD
Web.config
CityInterface/Web.config
CityWebFW/Web.config
;
git
commit
--allow-empty
-m
"auto
package
civbase."'
-
'
git
push
origin
map'
only
:
-
master
when
:
on_success
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment