Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
searchhotcrawler
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
zhiwei
searchhotcrawler
Commits
6f3b50b7
Commit
6f3b50b7
authored
Apr 08, 2021
by
chenweitao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'working' into 'master'
发布文件修改 See merge request
!78
parents
0324a347
09dbdf69
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
Jenkinsfile
+5
-6
No files found.
Jenkinsfile
View file @
6f3b50b7
...
...
@@ -16,7 +16,7 @@ pipeline {
}
stages
{
stage
(
'build'
)
{
when
{
branch
'master'
}
steps
{
...
...
@@ -24,12 +24,12 @@ pipeline {
}
post
{
success
{
sh
"/usr/local/bin/workwechatctl -p ${env.JOB_NAME} -n
马黎滨
-c 项目编译成功进行下一阶段"
sh
"/usr/local/bin/workwechatctl -p ${env.JOB_NAME} -n
陈炜涛
-c 项目编译成功进行下一阶段"
}
failure
{
step
([
$class
:
'Mailer'
,
notifyEveryUnstableBuild:
true
,
recipients:
"
malibin
@zhiweidata.com"
,
recipients:
"
chenweitao
@zhiweidata.com"
,
sendToIndividuals:
true
])
}
}
...
...
@@ -38,7 +38,7 @@ pipeline {
when
{
branch
'master'
}
steps
{
withCredentials
([
usernamePassword
(
credentialsId:
'dockerHub'
,
passwordVariable:
'dockerHubPassword'
,
usernameVariable:
'dockerHubUser'
)])
{
sh
"docker login -u ${dockerHubUser} -p ${dockerHubPassword} harbor.docker.zhiweireach.com"
sh
"docker login -u ${dockerHubUser} -p ${dockerHubPassword} harbor.docker.zhiweireach.com"
sh
"docker build -t harbor.docker.zhiweireach.com/daemon/${env.JOB_NAME}:${env.BUILD_NUMBER} . "
}
...
...
@@ -76,4 +76,4 @@ pipeline {
}
}
}
}
\ No newline at end of file
}
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