Owen Mehegan
1cafa43526
Remove unnecessary stuff from gitignore that breaks release
2016-03-16 15:14:36 -07:00
Robin Müller
87615f6b6b
Use branch name instead of commit hash for the ref parameter of the update commit status method
2016-03-16 22:45:23 +01:00
Robin Müller
19e683a1c1
Update change log
2016-03-16 22:14:09 +01:00
coder-hugo
90a9914602
Merge pull request #215 from team-supercharge/fix-buildOpenMergeRequests
...
Fix error "failed to communicate with gitlab server ..." when try to rebuild open MRs
2016-03-16 22:13:45 +01:00
coder-hugo
0b08bc084d
Merge pull request #236 from ayufan/master
...
Fix the usage of CommitStatus
2016-03-16 22:12:07 +01:00
Robin Müller
4963e9ddba
Cleanup README.md
2016-03-16 22:09:13 +01:00
Robin Müller
e2486e3a03
Update change log
2016-03-16 22:00:53 +01:00
Robin Müller
9f122c8873
Merge branch 'omorillo-improve-contribution-section-in-readme'
2016-03-16 21:37:56 +01:00
Robin Müller
d378e0d985
Add tests for MergeRequestHookTriggerHandlerImpl
2016-03-16 21:11:53 +01:00
Robin Müller
99557ae38f
Use guava Optional "getters" for all fields of the model classes
2016-03-16 21:11:53 +01:00
coder-hugo
5e1304574f
Merge pull request #235 from MartinNowak/patch-1
...
mention required permissions for commit status API
2016-03-16 21:07:47 +01:00
Robin Müller
c8229f07bb
Add tests for PushHookTriggerHandlerImpl
2016-03-15 21:39:34 +01:00
Robin Müller
479deafa75
Add tests for branch filters
2016-03-15 21:34:34 +01:00
Robin Müller
542d34c161
Update to maven-compiler-plugin 3.5.1 to fix the "duplicate class" errors during "mvn test"
2016-03-15 21:34:34 +01:00
Robin Müller
6ed59cba06
Move migration of jobs to GitLabPushTrigger to remove deprecated getters
2016-03-15 21:34:34 +01:00
Robin Müller
fab13af154
Remove obsolete class GitLab and its remaining usages
2016-03-15 21:34:34 +01:00
Robin Müller
29d38c2cfe
Move code for the validation of the include and exclude branches specs to ProjectBranchProvider
2016-03-15 21:34:33 +01:00
Robin Müller
a4723698ad
Move code for retrieving branch auto completion candidates to ProjectBranchProvider
2016-03-15 21:34:33 +01:00
Robin Müller
2db8ef562e
Move code for retrieving project branches to separate class
2016-03-15 21:34:33 +01:00
Robin Müller
d6d4ad9786
Remove obsolete methods to retrieve the GitLabPushTrigger.DescriptorImpl
2016-03-15 21:34:33 +01:00
Robin Müller
f8077ba6e3
Replace the hacky storing of the project in the GitLabPushTrigger.DescriptorImpl by a lookup of the Job ancestor in the current request
2016-03-15 21:34:33 +01:00
Robin Müller
ccb1b23984
Remove unused methods
2016-03-15 21:34:33 +01:00
Robin Müller
03f4ee3ff9
Move triggering of merge request event builds to a separate class
2016-03-15 21:34:33 +01:00
Robin Müller
6996a0cfb2
Move triggering of push event builds to a separate class
2016-03-15 21:34:33 +01:00
Robin Müller
f868327714
Remove unused class
2016-03-15 21:34:33 +01:00
Robin Müller
92b79677d2
Use an enum to define the different branch filter types
2016-03-15 21:34:33 +01:00
Robin Müller
c7f79095b6
Add further build variables
2016-03-15 21:34:33 +01:00
Robin Müller
292072504b
Remove the old model classes
2016-03-15 21:34:33 +01:00
Robin Müller
37445290ee
Add a RunListener that sets up an Environment with all build variables of a GitLabWebHookCause
2016-03-15 21:34:33 +01:00
Robin Müller
48f2cb53d2
Use the new POJOs instead of the old model objects
2016-03-15 21:34:33 +01:00
Kamil Trzcinski
7beab59c54
Fix the usage of CommitStatus
...
This implements the fix proposed by: https://github.com/jenkinsci/gitlab-plugin/issues/186\#issuecomment-190805441
2016-03-15 20:38:33 +01:00
Martin Nowak
42611a7c1c
mention required permissions for commit status API
...
Since gitlab 8.5 the reporter permissions are no longer sufficient to post commit statuses.
055afab5c7 (2d52ce552f2d21beb86ec07b784cb47791f894cc_161_172)
2016-03-15 02:46:59 +01:00
Owen Mehegan
5d63029e6d
Minor edits to README
2016-03-14 13:20:57 -07:00
coder-hugo
1fa848b239
Merge pull request #226 from loran34/add_description_merge_request
...
Add description to parameters actions
2016-03-13 22:01:56 +01:00
coder-hugo
daeb8665d5
Merge pull request #216 from team-supercharge/fix-gitlabUserEmail-is-null
...
Fix NPE when author email is not available
2016-03-13 22:01:25 +01:00
Robin Müller
9d048b071d
Add simple POJOs that implement the GitLab web hook model objects
2016-03-13 18:21:20 +01:00
Robin Müller
e3e29a34c5
Add some logging for the web hook processing
2016-03-13 18:12:31 +01:00
Robin Müller
5179494b92
Add tests for MergeRequestBuildAction
2016-03-13 18:12:30 +01:00
Robin Müller
21d10178e7
Add tests for PushBuildAction
2016-03-13 18:12:30 +01:00
Robin Müller
893d92c753
Add tests for BuildPageRedirectActions
2016-03-13 18:12:30 +01:00
Robin Müller
e9313894ab
Add tests for BuildStatusActions
2016-03-13 18:12:30 +01:00
Robin Müller
b550d303f5
Add tests for ActionResolver
2016-03-13 18:12:30 +01:00
Robin Müller
73583f1728
Use status not_found instead of pending if there is currently no build for a given commit sha1 ( fixes #159 )
2016-03-12 23:04:32 +01:00
Robin Müller
c87f1ea903
Move status images to the resources directory so they are easier to access
2016-03-12 23:04:32 +01:00
Robin Müller
2f9a10571f
Moved the resolution of the WebHookActions to a separate class
2016-03-12 23:04:32 +01:00
Robin Müller
00126cb554
Move build actions of the GitLabWebHook to separate classes
2016-03-12 23:04:32 +01:00
Robin Müller
0b2ef2e722
Move all status related actions of the GitLabWebHook to separate classes
2016-03-12 23:04:32 +01:00
Robin Müller
a28a4b4af6
Move generation of status json and png to separate classes
2016-03-12 23:04:32 +01:00
Robin Müller
d11942efe3
Add functionality to configure multiple GitLab instances
2016-03-12 23:03:34 +01:00
Owen Mehegan
efca132b27
Fix pom.xml to specify GPL 2.0 license
...
The license for the project was defined as GPL 2.0 from the beginning, but when the Jenkins pom.xml example was imported the MIT license was inadvertently included there. This corrects the discrepancy.
2016-03-11 22:18:06 -08:00