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
a93a6d0a
Project 'liermao/microservice-autodevopspipelines' was moved to 'lichunsheng/microservice-autodevopspipelines'. Please update any links and bookmarks that may still have the old path.
Commit
a93a6d0a
authored
Jan 09, 2019
by
李二毛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'development' into 'rel/major'
优化代码 See merge request liermao/microservice-autodevopspipelines!12
parents
7b3c2f97
816c43ce
Pipeline
#4084
failed with stages
in 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletions
+9
-1
devops/PipeLines/Creation/001_CI.sh
+3
-1
devops/PipeLines/Functions.sh
+6
-0
No files found.
devops/PipeLines/Creation/001_CI.sh
View file @
a93a6d0a
...
...
@@ -8,11 +8,13 @@ source ./devops/PipeLines/Functions.sh
declare
appName
GetAppName appName
echo
""
echo
"Continuous integration for
${
appName
}
starting..."
declare
solutionName
=(
$(
grep
-oP
'(?<=SolutionName>)[^<]+'
"devops/app.props"
)
)
GetSolutionName solutionName
dotnet build
${
solutionName
}
echo
""
echo
"Please check the version of each microservice carefully !!!"
GetVersion version
...
...
devops/PipeLines/Functions.sh
View file @
a93a6d0a
...
...
@@ -21,6 +21,12 @@ function GetAppName()
eval
$1
=
"
${
appName
}
"
}
function
GetSolutionName
()
{
declare
name
=(
$(
grep
-oP
'(?<=SolutionName>)[^<]+'
"./devops/app.props"
)
)
eval
$1
=
"
${
name
}
"
}
function
GetImageUserName
()
{
declare
name
=(
$(
grep
-oP
'(?<=ImageUserName>)[^<]+'
"devops/deploy.props"
)
)
...
...
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