Commit Graph

974 Commits

Author SHA1 Message Date
yashin e1b7637d59 解决pr被快速更新时SCM无法checkout到旧的commit导致构建失败 2018-07-09 18:36:24 +08:00
yashin eac14e0311 增加中文帮助信息 2018-07-09 16:11:15 +08:00
yashin 6311f3c475 增加Gitee链接帮助 2018-07-05 19:43:04 +08:00
yashin 477d9e146d 去掉强制要求webhook密码 2018-07-05 19:11:29 +08:00
yashin b30e0e6590 构建失败评论更换红色图标,更容易辨别构建成或失败 2018-07-05 17:43:08 +08:00
yashin a73c373a33 解决旧项目多个分支的情况下webhook一次请求触发多个构建 2018-07-05 16:39:33 +08:00
yashin 489c55e76f 避免# 评论到pr关联错issue 2018-07-05 11:57:12 +08:00
yashin 190c634f6c 支持pr审查通过,测试通过触发构建 2018-07-05 11:24:18 +08:00
yashin c2a0d84136 修复pr更新不触发构建 2018-07-04 19:25:28 +08:00
yashin 310b8996e5 支持构建成功自动合并PR 2018-07-03 18:44:10 +08:00
yashin 81c80cefb7 更名为gitee jenkins plugin 2018-07-03 17:48:50 +08:00
yashin df0430640e 修复关闭PR不可触发构建 2018-07-03 16:22:43 +08:00
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