Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-nexus
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
bailuntec-nexus
Commits
5890f4fb
Commit
5890f4fb
authored
Jan 12, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Jenkinsfile
parent
30562037
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
0 deletions
+31
-0
Jenkinsfile
Jenkinsfile
+31
-0
No files found.
Jenkinsfile
0 → 100644
View file @
5890f4fb
pipeline
{
agent
any
stages
{
stage
(
'检出'
)
{
steps
{
checkout
([
$class
:
'GitSCM'
,
branches
:
[[
name:
GIT_BUILD_REF
]],
userRemoteConfigs:
[[
url
:
GIT_REPO_URL
,
credentialsId:
CREDENTIALS_ID
]]])
}
}
stage
(
'编译'
)
{
steps
{
sh
'mvn clean package'
}
}
stage
(
'推送到 CODING Maven 制品库'
)
{
steps
{
echo
'发布中...'
sh
'mvn deploy -DskipTests'
echo
'发布完成.'
}
}
}
environment
{
CODING_MAVEN_REPO_ID
=
"${CCI_CURRENT_TEAM}-${PROJECT_NAME}-${MAVEN_REPO_NAME}"
CODING_MAVEN_REPO_URL
=
"${CCI_CURRENT_WEB_PROTOCOL}://${CCI_CURRENT_TEAM}-maven.pkg.${CCI_CURRENT_DOMAIN}/repository/${PROJECT_NAME}/${MAVEN_REPO_NAME}/"
}
}
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