Commit Graph

658 Commits

Author SHA1 Message Date
John McGehee ed234fbb02 Document the Jenkins "GitLab CI Service URL" 2016-09-21 12:39:56 -07:00
John McGehee cd414e09ee Explain that web hook URL includes folders 2016-09-12 16:23:25 -07:00
John McGehee 50f0fcebf0 Clarify PROJECT_NAME in the web hook URL 2016-09-12 15:55:36 -07:00
Robin Müller 29e733d128 Add DataBoundSetters to provide usage of named parameters (Fixes #410) 2016-09-12 22:34:17 +02:00
Robin Müller ee4c3d62ff Revert "Update the commit status for MRs always on the target project (Fixes #344)"
- if the commit status is updated for the upstream (target) project GitLab doesn't show this for a MR
2016-09-12 21:27:24 +02:00
Owen Mehegan b16e4bac34 Fixes !409 2016-09-09 16:36:25 -07:00
Robin Müller e01901478b Update the commit status for MRs always on the target project (Fixes #344) 2016-09-07 22:28:29 +02:00
Robin Müller aae5fede98 [maven-release-plugin] prepare for next development iteration 2016-09-05 22:42:12 +02:00
Robin Müller 379f83975f [maven-release-plugin] prepare release gitlab-plugin-1.4.0 2016-09-05 22:42:03 +02:00
Robin Müller ac84476367 Update changelog 2016-09-05 22:32:43 +02:00
Robin Müller 8034367df6 Remove checkbox for "Accept merge request on success" from GitLabPushTrigger 2016-09-05 22:16:42 +02:00
Robin Müller d566923021 Add possibility to add build status only for failed builds to MR (Fixes #345) 2016-09-04 20:53:32 +02:00
Robin Müller 342a6bbcfd Mark the next version as incompatible to previous ones as pipeline jobs may have to be adapted
- the options "Add note with build status on merge requests", "Vote added to note with build status on merge requests" and "Accept merge request on success" of the GitLabPushTrigger have been replaced by Notifiers and corresponding workflow steps
--> FreeStyleProjects and similar jobs can be migrated automatically but workflow steps must be migrated manually
2016-09-04 20:25:04 +02:00
Robin Müller 97474b2fa6 Fix formatting of pom.xml 2016-09-04 20:25:04 +02:00
Robin Müller 013d331efd Add workflow step for accepting a MR 2016-09-04 20:25:04 +02:00
Robin Müller f7bea1ae87 Add Notifier for accepting a MR on success 2016-09-04 20:25:04 +02:00
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