Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
microservice-autodevopspipelines
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李春生
microservice-autodevopspipelines
Commits
905cf270
Project 'liermao/microservice-autodevopspipelines' was moved to 'lichunsheng/microservice-autodevopspipelines'. Please update any links and bookmarks that may still have the old path.
Commit
905cf270
authored
Jan 09, 2019
by
据说甜蜜呢
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加GetServiceCsProjFile
parent
679c3435
Pipeline
#4107
passed with stage
in 16 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
devops/PipeLines/Creation/001_CI.sh
+5
-4
devops/PipeLines/Functions.sh
+8
-0
No files found.
devops/PipeLines/Creation/001_CI.sh
View file @
905cf270
...
...
@@ -27,11 +27,12 @@ rm -fr ${publishOutputDir}
mkdir
-p
${
publishOutputDir
}
GetServices services
for
service
in
${
services
}
for
service
Prefix
in
${
services
}
do
IsPublishableOf
${
service
}
isPublishable
GetServiceName
"
${
service
}
"
serviceName
CI
"
${
serviceName
}
"
"./src/
${
service
}
/
${
serviceName
}
/
${
serviceName
}
.csproj"
${
publishOutputDir
}
IsPublishableOf
${
servicePrefix
}
isPublishable
GetServiceName
"
${
servicePrefix
}
"
serviceName
GetServiceCsProjFile servicePrefix serviceName serviceCsProjFile
CI
${
serviceName
}
${
serviceCsProjFile
}
${
publishOutputDir
}
done
echo
""
...
...
devops/PipeLines/Functions.sh
View file @
905cf270
...
...
@@ -15,6 +15,14 @@ function GetServices()
eval
$1
=
"
${
svcs
}
"
}
function
GetServiceCsProjFile
()
{
declare
prefix
=
${
1
}
declare
name
=
${
2
}
declare
csprojFile
=
"./src/Services/
${
prefix
}
/
${
name
}
/
${
name
}
.csproj"
eval
$3
=
"
${
csprojFile
}
"
}
function
GetServiceName
()
{
declare
prefix
=
${
1
}
...
...
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