Commit Graph

1112 Commits

Author SHA1 Message Date
yashin 151ef81c5d 设置分支过滤规则 2018-07-03 15:32:05 +08:00
yashin fa8902516a 重构目录结构 2018-07-03 14:51:33 +08:00
yashin 0306ed0f3f 配置项支持中英文 2018-07-03 12:13:29 +08:00
yashin 966f9f80c4 支持构建成功回评PR 2018-07-02 16:58:27 +08:00
yashin b87f0b6e15 PR触发构建后,将构建结果评论至原PR 2018-06-28 19:14:35 +08:00
yashin 128c5673c7 webhook接受请求后回传已接受信息 2018-06-28 13:03:38 +08:00
yashin 6dc5f9de2c 支持push webhook触发构建 2018-06-27 17:21:59 +08:00
yashin d21e0aa338 接受pr更新,pr合并触发构建 2018-06-27 15:57:05 +08:00
yashin 56f5600b93 Gitee jenkins插件支持新建PR触发构建 2018-06-27 15:24:37 +08:00
Owen Mehegan 23feea68ca [maven-release-plugin] prepare for next development iteration 2018-05-26 13:23:04 -04:00
Owen Mehegan 8456f1251f [maven-release-plugin] prepare release gitlab-plugin-1.5.6 2018-05-26 13:22:45 -04:00
Owen Mehegan 724ab79d22 Changelog for 1.5.6 2018-05-26 13:15:04 -04:00
Owen Mehegan 18462ef357
Merge pull request #767 from MateuszJajeGP/master
Fix NPE in GitLabPushTrigger
2018-05-26 13:09:50 -04:00
Owen Mehegan bf5811804f
Merge pull request #759 from Zimgir/454
Fix exception when saving job config in certain cases.
2018-05-26 12:56:49 -04:00
Owen Mehegan f73144fa9b
Merge pull request #693 from ttsalonen/pending-build-status-for-pipelines
Pending status for pipelines and possibility to cancel pending builds on merge request updates
2018-05-26 11:39:51 -04:00
Owen Mehegan 6531d50957 Update maintainers 2018-05-26 11:27:01 -04:00
Owen Mehegan 4ad7dbb1a9 Tweak project ID regex to not require .git in the string. Fixes #691. 2018-05-26 11:06:14 -04:00
Owen Mehegan ca715da7d7
Merge pull request #760 from verath/patch-1
Readme: escape markdown refspec for tags
2018-05-25 23:07:02 -04:00
Owen Mehegan 9ea18cd2a1
README: note that declarative jobs must be run manually once
Fixes #761
2018-05-25 18:10:58 -04:00
Owen Mehegan fd2f63a52d
README: fix link to defined variables 2018-05-25 15:36:47 -04:00
Owen Mehegan aa8c1011b8
README: explain how to use EnvInject to support both manual and triggered builds 2018-05-25 15:34:11 -04:00
Mateusz Jaje 6b036af844 added creation of pipelineTriggerHandler in onPost(PipelineHook) because missing of it was causing NPE during processing pipeline hook 2018-05-18 12:01:03 +02:00
Peter Eliasson 8f93de0fb1
Readme: escape markdown refspec for tags
The `*` in the refspec was instead interpreted as markdown cursive. Surrounded the refspec in markdown inline code block to prevent this.
2018-05-03 10:44:41 +02:00
alexeyy 4ff2e9358c Bug fix
Add null pointer check which returns the default new AllBranchesFilter instance in null case.
2018-05-02 09:50:06 +03:00
Owen Mehegan 4469baefa4 README: make the webhook URL doc clearer 2018-04-26 13:32:53 +10:00
Tommi Salonen ea5c89dee0 Improved help text 2018-04-15 21:47:06 +03:00
Tommi Salonen 3c17f91f57 Added target url for cancelled builds 2018-04-15 21:47:06 +03:00
Tommi Salonen 3cec22aefb Moved cancelling pending builds to be done before setting build status pending.
The other order caused problems when the pending build had the same
commit as the new one: the build for the commit was shown as cancelled in Gitlab
even though it was pending in Jenkins.
2018-04-15 21:47:06 +03:00
Tommi Salonen 70773f3f83 Added tests for sending 'pending' builds status to GitLab and cancelling pending merge request builds on merge request update.
Also:
- Moved the code from PendingBuildsUtil to PendingBuildsHandler.
- Removed cancelling pending builds from OpenMergeRequestPushHookTriggerHandler. It is not needed there
because builds with same commitid are squashed anyway.
2018-04-15 21:47:06 +03:00
Tommi Salonen 4ecec17236 Removed the build number from target url when the state is pending
(job is waiting for the next available executor).

Build number in the url causes problems when there are more than one job
in the build queue. In those cases job.getNextBuildNumber returns the same
number for every build in the queue which leads to wrong urls reported to Gitlab.

The build number is assigned when the execution starts so the best option
for pending builds is probably just to set the target url point to the job page without
the build number.
2018-04-15 21:47:06 +03:00
Tommi Salonen df7432a760 Make it possible to cancel pending builds on merge request update. 2018-04-15 21:46:54 +03:00
Tommi Salonen 77fbc95c34 Make it possible to send pending build status to gitlab when a pipeline job is triggered 2018-04-15 20:57:00 +03:00
Owen Mehegan f36a970149
Merge pull request #743 from scottashipp/fix-minor-errors-in-readme
Fix minor grammar errors and punctuation uniformity in README
2018-04-09 16:58:52 +10:00
scottashipp 476bbed513 Fix minor grammar errors and punctuation uniformity in README 2018-04-06 15:40:31 -07:00
Owen Mehegan 23ad58bca3 Changelog: fix PR reference 2018-04-04 17:16:46 +10:00
Owen Mehegan f1a822fd4f [maven-release-plugin] prepare for next development iteration 2018-04-04 17:11:26 +10:00
Owen Mehegan 99b09903c1 [maven-release-plugin] prepare release gitlab-plugin-1.5.5 2018-04-04 17:06:49 +10:00
Owen Mehegan d015e9b01e Changelog for 1.5.5 2018-04-04 17:02:25 +10:00
Owen Mehegan a08fc040dd README: Add section about configuring with Job DSL. Fixes #722. 2018-04-04 16:45:48 +10:00
Owen Mehegan f95e65964b
Merge pull request #698 from Argelbargel/fix-697
Make plugin respect no-proxy-hosts when a proxy is used
2018-04-04 16:32:51 +10:00
Owen Mehegan 6acfad1c4a
Merge pull request #732 from benjarobin/fix-mr-filter-by-label
Fix filtering by label never matches anything. Fixes #647.
2018-04-04 16:25:50 +10:00
Owen Mehegan 9d8f7cc0f2 Clarify documentation of the webhook URL 2018-03-29 17:52:55 +11:00
Owen Mehegan acaab4d405
README: example of trigger configuration for multibranch jobs
Replaces #684.
2018-03-26 11:19:46 +11:00
Owen Mehegan 84e808632c
Merge pull request #731 from mreichel/Bug723
#723 "Build on successful pipeline events" setting will not stay set
2018-03-26 10:33:01 +11:00
Benjamin Robin a8ce097f27 Fix filtering by label never matches anything #647 2018-03-25 13:31:42 +02:00
Milena Zachow 333024a463 #723 Build on successful pipeline events 2018-03-23 17:39:08 +01:00
Owen Mehegan e022274e90 [maven-release-plugin] prepare for next development iteration 2018-03-23 16:52:34 +11:00
Owen Mehegan d39d051e68 [maven-release-plugin] prepare release gitlab-plugin-1.5.4 2018-03-23 16:52:01 +11:00
Owen Mehegan a59e565ba3 Changelog entries for 1.5.4. 2018-03-23 16:48:42 +11:00
Owen Mehegan 5aa460e1a8 README: add comment about new issue on GitLab side. Fixes #730. 2018-03-23 15:53:58 +11:00