Commit Graph

692 Commits

Author SHA1 Message Date
Robin Müller 1cae833f60 Add MergeRequestNotifier that provides common used methods for GitLabVotePublisher and GitLabMessagePublisher 2016-09-04 20:25:04 +02:00
Robin Müller f9577ca03a Add option to mark unstable builds as success in GitLab (Fixes #190) 2016-09-04 20:25:04 +02:00
Robin Müller 9e67af1af2 Add a workflow step for adding comments to a MR 2016-09-04 20:25:04 +02:00
Robin Müller 1164b2f8bf Add convenience static getClient method to GitLabConnectionProperty that retrieves the GitLab client for a given build 2016-09-04 20:25:04 +02:00
Robin Müller d11d0525c1 Use JenkinsRule as ClassRule to speed up the unit tests 2016-09-04 20:25:03 +02:00
Robin Müller b78c69d1ca Add Notifier for adding a vote to a GitLab MR (Fixes #168) 2016-09-04 20:25:03 +02:00
sh0ked adc2c63b27 customize notes for merge requsts (Fixes #201) 2016-09-04 20:24:38 +02:00
Robin Müller d94d0c0c25 Simplify the UI for selecting the GitLabPushTrigger options
- add an entry that shows all possible trigger events and use the trigger names shown on the GitLab webhooks page
- hide all other options in an advanced block
2016-09-03 22:54:37 +02:00
Robin Müller 4b7ea61974 Change order of GitLabPushTrigger options
- push is the most common use-case for triggering a build so move it to the top
- "Rebuild open Merge Requests" belongs to the MR event so it should be next to it
2016-09-03 22:54:37 +02:00
Owen Mehegan f444afd0ee Clarify that both CE and EE editions of GitLab are supported 2016-08-31 12:38:09 -07:00
Robin Müller 367d75ab9a [maven-release-plugin] prepare for next development iteration 2016-08-31 21:34:00 +02:00
Robin Müller 3d1f51979f [maven-release-plugin] prepare release gitlab-plugin-1.3.2 2016-08-31 21:33:54 +02:00
Robin Müller 3b32a0ac85 Fix possible NPE while setting the build status to pending (Fixes #404) 2016-08-31 21:17:11 +02:00
Robin Müller 280f2ae938 Update changelog 2016-08-31 20:56:11 +02:00
Robin Müller 5b44078209 Catch Throwable instead of Exception as NoClassDefError doesn't extend the Exception class 2016-08-31 15:50:52 +02:00
Robin Müller 3fe8d554ed Allow null values for targetUrl as this isn't available in web hooks of older versions of GitLab (Fixes #402) 2016-08-31 12:47:39 +02:00
Robin Müller 92121e5b3b [maven-release-plugin] prepare for next development iteration 2016-08-27 18:09:59 +02:00
Robin Müller a2697cad15 [maven-release-plugin] prepare release gitlab-plugin-1.3.1 2016-08-27 18:09:52 +02:00
Robin Müller 3441703df3 Use author of the last commit for "pushed by" description 2016-08-27 17:42:19 +02:00
Robin Müller 8619eb179c Update changelog 2016-08-27 17:18:26 +02:00
Robin Müller 40748b0bb5 FINEST is the correct level for the logger 2016-08-26 08:38:45 +02:00
Robin Müller 13e7364175 Merge pull request #400 from ace13/patch-1
Fix gitlabBuilds step to actually use 'pending'
2016-08-25 12:10:08 +02:00
Alexander "Ace" Olofsson a8f14558b5 Fix gitlabBuilds step to actually use 'pending' 2016-08-25 10:56:57 +02:00
Robin Müller 00c2265a0e Merge pull request #392 from dforbesfds/feat/parameters/mr-last-commit
feat(parameters): [mr-last-commit]
2016-08-23 14:15:46 +02:00
Robin Müller 9738f78fed Merge pull request #397 from ixaris/sync-fix
Increased concurrency of publisher
2016-08-23 14:13:51 +02:00
martin 9ece02aad8 Fixes test errors introduced in 3cf5f312e6
Passes the required webUrl parameter into Cause input in Unit Tests.
2016-08-23 14:05:21 +02:00
Benjie Gatt 2fd683ed3b Decreased level of synchronisation required by publisher to allow concurrent builds to execute without locking up 2016-08-22 14:40:55 +02:00
Dan Forbes 68772128ba feat(parameters): [mr-last-commit] Add merge request last commit ID to the set of parameters that are exposed as environment variables. 2016-08-15 15:46:05 -05:00
Robin Müller b39e2321ba Catch exception that may occur while retrieving the available gitlab credentials if the plain-credentials plugin isn't installed 2016-08-13 18:58:10 +02:00
Robin Müller 3cf5f312e6 Render a link to the MR in the short description as long as not the "Escape HTML" formatter is selected (Fixes #69) 2016-07-22 22:21:26 +02:00
Robin Müller 1e600fe602 Add a BasicCredentialsProvider for the proxy credentials if they are set 2016-07-22 12:34:39 +02:00
Robin Müller f23501e094 Add gitlabBuilds step to notify GitLab about pending builds within a pipeline job (Fixes #383) 2016-07-21 23:34:58 +02:00
Robin Müller 4e116ab2ee Add updateGitlabCommitStatus step for setting a custom build state for a commit 2016-07-21 23:34:52 +02:00
Robin Müller 2aa01588a3 Add null check while retrieving the Jenkins proxy configuration 2016-07-21 20:33:26 +02:00
Robin Müller 633a103cb9 If a global HTTP proxy is configured use this also as proxy for the gitlab API (Fixes #382) 2016-07-20 23:17:31 +02:00
Robin Müller 8eb7adb04c Fix errors during deserialization of GitLabPushTrigger config (Fixes #299) 2016-07-20 23:17:31 +02:00
Robin Müller 8da0bf2945 Add domain requirements for retrieving the API Token credentials 2016-07-12 17:02:43 +02:00
Robin Müller c0dcabe904 [maven-release-plugin] prepare for next development iteration 2016-07-09 18:44:27 +02:00
Robin Müller a1a86f2697 [maven-release-plugin] prepare release gitlab-plugin-1.3.0 2016-07-09 18:44:22 +02:00
Robin Müller 439abf285d Update README with instructions to fetch MRs from origin (Fixes #370) 2016-07-09 18:09:13 +02:00
Robin Müller 60b882b03a Adapt changelog 2016-07-09 18:02:19 +02:00
Robin Müller bbfd82536c Remove GitLab 7.14 related stuff from README as the next release will drop official support for this version 2016-07-09 17:55:11 +02:00
Robin Müller c8dd9b8605 Adapt README for multibranch pipeline jobs 2016-07-09 17:48:57 +02:00
Robin Müller d404a9dc4d Notify SCMSourceOwners about changes for GitLab Push Hooks (Fixes #298) 2016-07-09 17:15:02 +02:00
Robin Müller 1ea956f34c Set new version for next release 2016-07-09 17:15:02 +02:00
Robin Müller b810e595de Use the commitId of the GitLab hook for builds triggered by GitLab to update the commit status (Fixes #374) 2016-07-09 17:15:02 +02:00
Oscar Salvador Morillo Victoria 7b3e86c678 Updated dockerized GitLab version to 8.9.1 2016-06-28 14:38:33 +02:00
Robin Müller 2c6630920d [maven-release-plugin] prepare for next development iteration 2016-06-26 21:57:55 +02:00
Robin Müller 284fdc5cda [maven-release-plugin] prepare release gitlab-plugin-1.2.5 2016-06-26 21:57:48 +02:00
Robin Müller f150af0285 Update changelog 2016-06-26 21:08:29 +02:00