Commit Graph

391 Commits

Author SHA1 Message Date
Robin Müller 95588c6fab Add unit tests 2016-03-19 17:40:36 +01:00
Robin Müller 796998e593 Use the new client 2016-03-19 17:36:12 +01:00
Robin Müller 81b3433351 Create client using resteasy 2016-03-19 17:36:02 +01:00
Robin Müller aa810139c7 Implement requierd methods of the GitLab API using jax-rs 2016-03-19 17:36:02 +01:00
Robin Müller d925fcf76a Move model classes to gitlab.api package 2016-03-19 00:13:30 +01:00
Robin Müller ed8d57c1a7 Add also for MR builds a RevisionParameterAction to force the build of the latest commit of the branch to merge 2016-03-18 22:03:51 +01:00
Robin Müller e9e13d5536 Move triggering of open MRs to the WebHookTriggerHandlers 2016-03-17 23:52:23 +01: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 4963e9ddba Cleanup README.md 2016-03-16 22:09:13 +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
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
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
Robin Müller c457e13d6a Add functionality to add the new publisher automatically to old jobs if addCiMessage was activated for the GitLabPushTrigger 2016-03-10 22:06:16 +01:00
Robin Müller d6bb94b833 Use correct spelling of autoCompleteDelimChar attribute 2016-03-10 22:06:16 +01:00
Robin Müller 887583fc43 Move commit status handling to a Notifier extension 2016-03-10 22:06:16 +01:00
Baptiste Mathus 1070e3cdf2 [maven-release-plugin] prepare for next development iteration 2016-03-05 00:17:34 +01:00
Baptiste Mathus 9088cabd1b [maven-release-plugin] prepare release gitlab-plugin-1.1.31 2016-03-05 00:17:29 +01:00
Owen B. Mehegan b464547155 Don't use HTTPS when releasing, because Jenkins artifactory certificates are currently broken. 2016-03-04 14:51:59 -08:00