Commit Graph

658 Commits

Author SHA1 Message Date
Robin Müller 8a5aced784 Merge pull request #312 from team-supercharge/fix-merge-request-iid
Fix setting MR IID
2016-05-12 08:23:30 +02:00
Csaba Kozak c3b1bc855e Fix setting MR IID
This caused the following incorrect build description:

 "GitLab ​Merge ​Request ​#null: ​repository/source=> ​target"
2016-05-11 18:31:21 +02:00
Kristoffer Erlandsson efe91a1870 Fixed issue where builds would not be triggered on tag push events 2016-05-11 14:36:35 +02:00
Robin Müller 32cd71c119 Use the character encoding of the request or UTF-8 if no character encoding is available for decoding the request body of a web hook (fixes #308) 2016-05-11 09:00:11 +02:00
Robin Müller 358b4f229f Merge pull request #304 from demaniak/safe-string-comparison
Utilizing SpringUtils to safely perform string comparison.
2016-05-10 12:35:05 +02:00
Robin Müller fb63a33763 Configure connection pooling and timeouts for the client 2016-05-10 09:51:02 +02:00
Robin Müller 99bde6fe1e Use ResteasyClientBuilder to configure ignoreCertificateErrors 2016-05-10 09:50:08 +02:00
Owen Mehegan 37a9456884 Add notes to readme about known Pipeline bugs 2016-05-09 15:25:18 -07:00
Oscar Salvador Morillo Victoria d536db972c Docker: Update Jenkins version to 2.1 2016-05-09 18:22:44 +02:00
Oscar Salvador Morillo Victoria e6c599d38e Docker: Update GitLab version to 8.7.3 2016-05-09 18:07:16 +02:00
HS Coetzee 89670f4726 Utilizing SpringUtils to safely perform string comparison.
When the X-Gitlab-Event header is not present (pre-7.14 versions of
GitLab), a NPE was raised here, thereby bypassing intended error
handling.
2016-05-09 18:05:25 +02:00
Owen Mehegan 3965079e7a Update list of variables available in builds 2016-05-04 15:09:10 -07:00
Robin Müller fcde6857ea Fix HTTP 404 error for the rebuild open MRs on push to target branch for forked repositories 2016-05-04 23:16:46 +02:00
Robin Müller 9656e73906 Add gitlabMergeRequestIid, gitlabSourceNamespace and gitlabTargetNamespace to CauseData and show the correct MR id within the build description (fixes #290, #246) 2016-05-04 23:14:29 +02:00
Robin Müller f6b7f6df11 Do not trigger a build for a remove branch push event (fixes #294) 2016-05-04 22:19:09 +02:00
Robin Müller 85f415fe1f Use HTTP GET instead of HEAD to check for the existence of a commit as workaround for RESTEASY-1347 2016-05-04 20:25:47 +02:00
Robin Müller 8162ee27fb Update changelog 2016-05-04 08:44:02 +02:00
Owen Mehegan a37b5d4fdf [maven-release-plugin] prepare for next development iteration 2016-05-03 15:03:02 -07:00
Owen Mehegan 455d2b864d [maven-release-plugin] prepare release gitlab-plugin-1.2.2 2016-05-03 15:02:57 -07:00
Robin Müller 721e6da821 Fix GitLabConnectionConfigSSLTest and GitLabConnectionConfigTest according the latest client changes 2016-05-03 23:58:56 +02:00
Robin Müller 070fbee3c8 Fix GitLabCommitStatusPublisherTest according the latest client changes 2016-05-03 23:34:20 +02:00
Owen Mehegan 2d56b26da4 Update CHANGELOG.md 2016-05-03 14:14:53 -07:00
Owen Mehegan 419f25d35a Merge pull request #283 from dslavets/patch-1
Send thumbs-down icon when the build fails.
2016-05-03 14:00:07 -07:00
Robin Müller 154ab20fd2 Update change log 2016-05-03 22:54:35 +02:00
Robin Müller 2aeb5d9b4b Use jenkins credentials-plugin for storing the GitLab API Token 2016-05-03 22:49:17 +02:00
Robin Müller 4d3bd9bf1a Clear clients cache if connection config has changed 2016-05-03 22:49:17 +02:00
Robin Müller a2f26fa51f Update to resteasy-client 3.0.16.Final (Fixes #284)
- there was a bug in resyeasy causing NPEs in case of a HTTP error (https://issues.jboss.org/browse/RESTEASY-1273)
2016-05-03 22:49:17 +02:00
dslavets 5c6a9cb4f5 result icon fix
send 👎 when the build fails
2016-05-02 18:45:52 +02:00
Robin Müller f53a68d2eb Merge pull request #279 from jsyrjala/patch-1
Fix layout for logging instructions in README.md
2016-04-30 15:25:32 +02:00
Robin Müller eb1abb2e2c Add workflow step that updates the GitLab commit status depending on the build status (fixes #262) 2016-04-30 14:50:22 +02:00
Juha Syrjälä 6c40d82fd4 Fix layout for logging instructions in README.md 2016-04-30 12:20:49 +03:00
Owen Mehegan 099fe76dd3 Update changelog, issue #275 was fixed in the last release 2016-04-29 16:52:53 -07:00
Owen Mehegan 7693c5e493 [maven-release-plugin] prepare for next development iteration 2016-04-29 14:22:59 -07:00
Owen Mehegan a6f18f7888 [maven-release-plugin] prepare release gitlab-plugin-1.2.1 2016-04-29 14:22:55 -07:00
Owen Mehegan 98f75e563f Update list of maintainers 2016-04-29 14:19:28 -07:00
Owen Mehegan e78c6c7822 Added README section on using with Pipeline jobs 2016-04-29 14:07:50 -07:00
Owen Mehegan 7aa3b4f463 Update changelog, note incompatibility issue for Pipeline jobs 2016-04-29 13:34:23 -07:00
Owen Mehegan 79a0f5e72b Add incompatibility warning for pre-1.2.0 versions of the plugin. 2016-04-29 13:24:53 -07:00
Robin Müller 912967e716 Replace the GitLabEnvironmentRunListener by an EnvironmentContributor 2016-04-29 13:05:42 -07:00
Robin Müller 545a690be8 Use Job and Run instead of AbstractProject and AbstractBuild wherever possible 2016-04-29 13:05:42 -07:00
Owen Mehegan 0ef1386aaa Add info about getting support, remove some old documentation 2016-04-29 12:59:42 -07:00
Owen Mehegan d41040a64f sourceRepoHomepage and sourceRepoUrl are not sent for merge requests evens in GitLab 7.14 (fixes #273) 2016-04-28 22:56:54 +02:00
Robin Müller 6372b01ad2 Use GitLab MergeRequest notes API instead of comments API (fixes #275) 2016-04-28 22:34:44 +02:00
Robin Müller c3ba0243bc Add a mock for the EnvVars of the build to fix the GitLabCommitStatusPublisherTest 2016-04-28 22:34:44 +02:00
Robin Müller 8aea4d439a Adapt README according to the latest plugin changes 2016-04-28 20:32:59 +02:00
Robin Müller 99ea7c1a89 Expand environment variables in GitSCM remoteUrls while retrieving the projectId 2016-04-28 20:27:59 +02:00
Oscar Salvador Morillo Victoria cf448489d3 GitLabIT: Test build on merge request 2016-04-26 07:54:04 -07:00
Oscar Salvador Morillo Victoria d14f7d3c40 Fix: Merge request hook not set by addProjectHook function 2016-04-26 07:54:00 -07:00
Oscar Salvador Morillo Victoria 259e8e2065 Extend GitLabRule to allow accessing a project by name and getting a list of all existing project identifiers 2016-04-26 07:53:56 -07:00
Oscar Salvador Morillo Victoria 55e2894d9c Fix: rename variable name in GitLabApi 2016-04-26 07:53:53 -07:00