Commit Graph

551 Commits

Author SHA1 Message Date
Csaba Kozak fabe995b7e Ignore Mac metadata file 2016-06-10 11:06:10 +02:00
omorillo 16c95af768 Merge pull request #349 from team-supercharge/fix-commit-status-updater-npe
Fix NPE when updating commit status
2016-06-09 16:23:53 +02:00
Csaba Kozak ef4f774d02 Fix NPE when updating commit status
If there was no commit for the last build because the
pushed commit no longer exists, a NPE could occur.
2016-06-09 15:44:07 +02:00
Robin Müller 3f92edbd22 Add possibility to configure the timeouts for GitLabConnections (fixes #342) 2016-06-07 21:06:30 +02:00
Robin Müller 32ed183624 Catch also ProcessingExceptions while using the GitLab client 2016-06-07 20:11:53 +02:00
Robin Müller 10226d9c53 Change order of steps add note and accept MR
- adding the jenkins build status note before accepting the MR makes more sense
2016-06-07 20:07:52 +02:00
Robin Müller 58c9048101 Adapt known issues section as GitLab EE sends the X-Gitlab-Event header since version 8.8.3 2016-06-07 20:03:25 +02:00
Oscar Salvador Morillo Victoria 47d75b5226 Update dockerized GitLab to version 8.8.3 2016-06-06 21:38:40 +02:00
Oscar Salvador Morillo Victoria 297fa578d7 Fix volume location inside Jenkins master container
The volume location has changed to /var/jenkins_home
2016-06-04 21:40:19 +02:00
Oscar Salvador Morillo Victoria 4427fccb18 Readme: Update in how to access dockerized GitLab service 2016-06-03 15:01:08 +02:00
Oscar Salvador Morillo Victoria 07b94b3436 Docker: Update GitLab version to 8.8.2 2016-06-03 08:50:16 +02:00
omorillo 0b3af4eb7e Merge pull request #343 from McFoggy/contrib-guidelines
add issue template, relates to #341
2016-06-01 20:59:57 +02:00
Matthieu Brouillard 109a294493 add issue template, relates to #341 2016-06-01 09:24:55 +02:00
omorillo bd313432b9 Merge pull request #335 from AvanzaBank/action-resolver-refactoring-and-tests
More tests and refactoring of ActionResolver.onPost
2016-05-28 16:57:44 +02:00
omorillo 1f03cb61e5 Merge pull request #338 from jcppkkk/patch-1
Readme: Reorganize section Gitlab Configuration (>= 8.1)
2016-05-28 16:08:19 +02:00
Jethro Yu 56c8c3da80 Update Gitlab Configuration (>= 8.1) 2016-05-28 15:48:21 +08:00
Oscar Salvador Morillo Victoria 0c5e2e3cdd pom: include maintainer 2016-05-26 21:44:48 +02:00
Kristoffer Erlandsson d5752a70e0 More tests and refactoring of ActionResolver.onPost 2016-05-26 10:48:04 +02:00
Oscar Salvador Morillo Victoria dfc72be6cc Update changelog 2016-05-25 23:32:10 +02:00
Owen Mehegan be0a914d3a [maven-release-plugin] prepare for next development iteration 2016-05-25 13:43:35 -07:00
Owen Mehegan 4a78734a41 [maven-release-plugin] prepare release gitlab-plugin-1.2.3 2016-05-25 13:43:31 -07:00
Owen Mehegan 821cb3fd0e Merge pull request #322 from xinranxiao/project_field_compatibility
Git push hook namespace compatibility for Gitlab pre ~v8.5
2016-05-25 13:16:57 -07:00
omorillo d8639a94c7 Merge pull request #281 from kerlandsson/tag-event-fix
Fix: Builds not be triggered on tag push events
2016-05-25 20:50:43 +02:00
Oscar Salvador Morillo Victoria c27af27332 Fixes #319: Wrong username in Jenkins build description on push event
The build description is expected to provide information
about the user who triggered a build job.
Previously, the therein specified user was the committer who
most recently committed to that pushed branch. However,
this does not necessarily correspond to the GitLab user
who actually triggered the build job by pushing the changeset.
The existing behaviour was replaced to use the GitLab user
instead unless provided through the GitLab request and to
fall back to the most recent committer if the GitLab user
is not available.
2016-05-24 23:25:29 +02:00
Oscar Salvador Morillo Victoria 27954f8096 Docker: Use explicitly set container names 2016-05-24 23:25:29 +02:00
Oscar Salvador Morillo Victoria 3aaba77684 Docker: back to official jenkins image; update jenkins version to 2.3 2016-05-24 23:25:29 +02:00
Oscar Salvador Morillo Victoria d28dc626a6 mark unused function to be removed 2016-05-24 23:25:29 +02:00
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