Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
print-demo
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
Administrator
print-demo
Commits
d520ce5a
Commit
d520ce5a
authored
Apr 23, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Jenkinsfile
parent
64c302c3
Pipeline
#77
passed with stage
in 9 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
7 deletions
+4
-7
Jenkinsfile
+4
-7
No files found.
Jenkinsfile
View file @
d520ce5a
...
@@ -2,19 +2,16 @@ pipeline {
...
@@ -2,19 +2,16 @@ pipeline {
agent
any
agent
any
stages
{
stages
{
stage
(
'build'
)
{
stage
(
'build'
)
{
when
{
branch
'
master
'
}
when
{
branch
'
develop
'
}
steps
{
steps
{
sh
'
/apache-maven-3.6.3/bin/mvn clean package -Dmaven.test.skip=true -U
'
sh
'
check_java.sh
'
}
}
post
{
post
{
success
{
success
{
sh
"/usr/local/bin/workwechatctl -p ${env.JOB_NAME} -n
陈伟阳 -c 项目编译成功进行下一阶段
"
sh
"/usr/local/bin/workwechatctl -p ${env.JOB_NAME} -n
张金晓 -c 项目未检查出bug等问题,开始编译发布。
"
}
}
failure
{
failure
{
step
([
$class
:
'Mailer'
,
sh
"/usr/local/bin/workwechatctl -p ${env.JOB_NAME} -n 张金晓 -c 项目已检查出bug等问题,请登陆gitlab查看bug信息。"
notifyEveryUnstableBuild:
true
,
recipients:
"chenweiyang@zhiweidata.com"
,
sendToIndividuals:
true
])
}
}
}
}
}
}
...
...
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