Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CivManage
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
CivManage
Commits
85b23bbc
Commit
85b23bbc
authored
Dec 28, 2020
by
邓晓峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: add .gitllab-ci.yml
parent
9f20c555
Pipeline
#21356
passed with stages
in 1 minute 36 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
No files found.
.gitlab-ci.yml
View file @
85b23bbc
...
@@ -45,7 +45,7 @@ push_2021:
...
@@ -45,7 +45,7 @@ push_2021:
-
'
cd
"${TARGET_REPO_2021}"'
-
'
cd
"${TARGET_REPO_2021}"'
-
'
git
reset
--hard
head'
-
'
git
reset
--hard
head'
-
'
git
clean
-fd'
-
'
git
clean
-fd'
-
'
git
remote
set-url
origin
"https://${GIT_ACCESS_USER
_2021}:${GIT_ACCESS_PASSWORD_2021
}@g.civnet.cn:8443/CivPublish/CivWebPublish2021.git"'
-
'
git
remote
set-url
origin
"https://${GIT_ACCESS_USER
}:${GIT_ACCESS_PASSWORD
}@g.civnet.cn:8443/CivPublish/CivWebPublish2021.git"'
-
'
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"}'
...
@@ -83,7 +83,7 @@ push_2019:
...
@@ -83,7 +83,7 @@ push_2019:
-
'
cd
"${TARGET_REPO_2019}"'
-
'
cd
"${TARGET_REPO_2019}"'
-
'
git
reset
--hard
head'
-
'
git
reset
--hard
head'
-
'
git
clean
-fd'
-
'
git
clean
-fd'
-
'
git
remote
set-url
origin
"https://${GIT_ACCESS_USER
_2019}:${GIT_ACCESS_PASSWORD_2019
}@g.civnet.cn:8443/CivPublish/CivWebPublish.git"'
-
'
git
remote
set-url
origin
"https://${GIT_ACCESS_USER
}:${GIT_ACCESS_PASSWORD
}@g.civnet.cn:8443/CivPublish/CivWebPublish.git"'
-
'
git
pull
origin
map'
-
'
git
pull
origin
map'
-
'
robocopy
"${CI_PROJECT_DIR}/../CivWebPublish2021/civmanage"
"${TARGET_REPO_2019}/civmanage"
/S
;
-
'
robocopy
"${CI_PROJECT_DIR}/../CivWebPublish2021/civmanage"
"${TARGET_REPO_2019}/civmanage"
/S
;
IF
((${LASTEXITCODE}
-le
8))
{cmd
/c
"exit
/b
0"}'
IF
((${LASTEXITCODE}
-le
8))
{cmd
/c
"exit
/b
0"}'
...
...
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