Commit Graph

774 Commits

Author SHA1 Message Date
Oscar Salvador Morillo Victoria 477ab67cd5 tiny improvements 2016-05-24 23:25:29 +02:00
Owen Mehegan fa8fcea8bd README: Note Jenkins parameter security update that can cause problems 2016-05-23 17:21:04 -07:00
Owen Mehegan d27385e906 Add 'known bugs' section to README 2016-05-23 17:06:06 -07:00
Robin Müller cbeac54c15 Merge pull request #327 from bulanovk/bugfix/support_dot_in_project
Fix to support NameSpace or ProjectName with dot in it
2016-05-20 16:21:00 +02:00
Konstantin Bulanov fad9c5cfcd Fix to support NameSpace or ProjectName with dot in it
According to Rails documentation(http://guides.rubyonrails.org/v3.1.3/routing.html section 3.2 Dynamic Segments) Rail use a dot as separator for formatted routes.
In this case if we have dot in ProjectId constructed from(namespace + projectname) all request except getSingleProject(http://docs.gitlab.com/ce/api/projects.html#get-single-project) fail with message
"Failed to update Gitlab commit status for project Name.Test/Repo': HTTP 500 Internal Server Error"

To support This case we check if projectId have dot inside of it
if it has execute getSingleProject request and extract Integer projectId to operate with
if it hasn't use prepared projectId(Namespace + ProjectName)
2016-05-20 10:46:34 +04:00
Owen Mehegan 1adc6830ba Explain how to add the GitLab API key as a credential. 2016-05-19 15:22:01 -07:00
Owen Mehegan 54dd74e27e Fix typo 2016-05-19 12:37:53 -07:00
Robin Müller 6e2de7c63d Merge pull request #311 from team-supercharge/fix-commit-status
Fix finding related commit of the build
2016-05-19 20:46:03 +02:00
Xinran Xiao 89cbe2515d MR webhook compatibility 2016-05-18 11:09:04 -07:00
Xinran Xiao 88d0f92ad2 separate out compatibility step 2016-05-17 14:40:24 -07:00
Xinran Xiao d9a66ae5ba namespace compatibility for gitlab v7.14 for push hook parsing 2016-05-17 12:23:49 -07:00
Oscar Salvador Morillo Victoria 597ac4ba0f Readme: Add note on gitlab hook values injection 2016-05-17 10:26:18 +02:00
Owen Mehegan 5373a757dc Fix README contents links 2016-05-13 11:50:35 -07:00
Owen Mehegan db54e59130 Update documentation about branch name filtering 2016-05-13 11:48:17 -07:00
Csaba Kozak 40d551930d Update tests for new commit status publisher behavior 2016-05-13 17:24:33 +02:00
Csaba Kozak b562c93c10 Fix finding related commit of the build 2016-05-13 17:22:39 +02:00
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