Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
link33
plugin
Commits
0a4fe2c1
Commit
0a4fe2c1
authored
Nov 26, 2018
by
vipwzw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix webhook
parent
e2e2e2d8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
Jenkinsfile
Jenkinsfile
+1
-1
Makefile
Makefile
+18
-0
No files found.
Jenkinsfile
View file @
0a4fe2c1
...
@@ -12,7 +12,7 @@ pipeline {
...
@@ -12,7 +12,7 @@ pipeline {
retry
(
1
)
retry
(
1
)
timestamps
()
timestamps
()
gitLabConnection
(
'gitlab33'
)
gitLabConnection
(
'gitlab33'
)
gitlabBuilds
(
builds:
[
'
deploy
'
])
gitlabBuilds
(
builds:
[
'
check
'
])
checkoutToSubdirectory
"src/github.com/33cn/plugin"
checkoutToSubdirectory
"src/github.com/33cn/plugin"
}
}
...
...
Makefile
View file @
0a4fe2c1
...
@@ -265,3 +265,20 @@ pullpush:
...
@@ -265,3 +265,20 @@ pullpush:
fi
;
fi
;
make pullsync
make pullsync
git push
${
name
}
${
name
}
-
${
b
}
:
${
b
}
git push
${
name
}
${
name
}
-
${
b
}
:
${
b
}
webhook_auto_ci
:
clean fmt_proto fmt_shell protobuf mock
@
-find
.
-name
'*.go'
-not
-path
'./vendor/*'
| xargs gofmt
-l
-w
-s
@
-
${
auto_fmt
}
@
-find
.
-name
'*.go'
-not
-path
'./vendor/*'
| xargs gofmt
-l
-w
-s
@
${
auto_fmt
}
@
git status
@
files
=
$$
(
git status
-suno
)
;
if
[
-n
"
$$
files"
]
;
then
\
git status
;
\
git commit
-a
-m
"auto ci"
;
\
git push origin
${
b
}
;
\
exit
0
;
\
fi
;
webhook
:
git checkout
${
b
}
make webhook_auto_ci
name
=
${
name
}
b
=
${
b
}
\ 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