Commit Graph

462 Commits

Author SHA1 Message Date
yashin db047e0f4a 修复push无法过滤已构建的版本 2018-07-24 18:17:20 +08:00
yashin 7a2b9d5711 增加过滤已经构建的commit版本 2018-07-24 12:02:52 +08:00
yashin 4a58541bfc 修正ci-skip 帮助 2018-07-23 11:57:23 +08:00
yashin e1703eb012 增加插件描述信息 2018-07-23 10:34:03 +08:00
yashin 5900a68d83 修复release编译报错 2018-07-20 17:17:12 +08:00
yashin b0b3f6129e 应jenkins官方库要求,删除jenkins关键字 2018-07-19 17:52:29 +08:00
yashin 6ede6fd36c 解决pr描述无法过滤构建,增加ci-skip帮助文档 2018-07-17 18:49:34 +08:00
yashin c28c795570 修复触发构建失败 2018-07-12 18:33:37 +08:00
yashin 3480535e96 调整分支过滤器默认值 2018-07-11 16:06:45 +08:00
yashin 782497f4d3 修复帮助文件找不的问题 2018-07-10 18:33:33 +08:00
yashin 2f8da3aefa 解决分支过滤配置显示错误问题 2018-07-10 12:07:13 +08:00
yashin e053fd2878 解决分支过滤未设置导致500 2018-07-10 11:59:51 +08:00
yashin adc6bf8691 增加refspec配置帮助 2018-07-09 19:46:49 +08:00
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 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 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 4ad7dbb1a9 Tweak project ID regex to not require .git in the string. Fixes #691. 2018-05-26 11:06:14 -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
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
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 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
Benjamin Robin a8ce097f27 Fix filtering by label never matches anything #647 2018-03-25 13:31:42 +02:00