Commit Graph

774 Commits

Author SHA1 Message Date
Robin Müller e2cff62a0b Catch client exceptions while retrieving the projectId from GitLab 2016-06-23 22:30:56 +02:00
Robin Müller 0d0c3f9282 Fix regex for retrieving the projectId of the remoteUrl 2016-06-23 22:30:56 +02:00
Robin Müller 14834ea886 Use List<MergeRequest> instead of Response as return value for getMergeRequests
- retrieving all MergeRequest pages of the API works now without reading the response headers
  -> the Response isn't necessary anymore as return value
2016-06-22 23:27:04 +02:00
Robin Müller 5435cfcee9 Just increment the page number instead of using the X-Next-Page header for retrieving all open MRs (Fixes #358) 2016-06-22 23:13:14 +02:00
Robin Müller 6247055edb Remove path segments of the remoteUrl that don't belong to the projectId (Fixes #364) 2016-06-21 22:26:26 +02:00
Robin Müller 77447ae33d Add unit test for ProjectIdUtil 2016-06-21 22:26:26 +02:00
omorillo 3947d788d8 Merge pull request #213 from sh0ked/added-trigger-for-note-events
Trigger build by phrase in merge request note
2016-06-21 18:06:55 +02:00
sh0ked f076d397f9 added-trigger-by-note-events 2016-06-20 18:39:41 +06:00
Oscar Salvador Morillo Victoria d25d5ded76 Update dockerized postgresql server for GitLab to 9.4-22 2016-06-19 23:19:52 +02:00
Oscar Salvador Morillo Victoria 704282dd5a Updated dockerized GitLab version to 8.8.5 2016-06-19 23:11:40 +02:00
Robin Müller a5c87853e0 Add possibility to enable authentication for the /project end-point (Fixes #282) 2016-06-16 20:56:29 +02:00
Oscar Salvador Morillo Victoria 6f43a5ef2d Readme: Update external host used for dockerized GitLab service (Fixes #359) 2016-06-15 20:01:57 +02:00
Oscar Salvador Morillo Victoria be899dea63 Fix: Non-reachable external url set in dockerized GitLab service (Fixes #359) 2016-06-15 20:01:50 +02:00
Robin Müller 090fa9a546 Update credentials-plugin to version 2.1.0 (JENKINS-35538) 2016-06-14 22:17:39 +02:00
Robin Müller 44648f7d67 Adapt README to be more clear about the gitlabCommitStatus pipeline step (Fixes #357) 2016-06-14 21:38:04 +02:00
Robin Müller 77cd938220 Fix NPE when no build data found (Fixes #357) 2016-06-14 21:37:14 +02:00
Oscar Salvador Morillo Victoria 165d01e07b add more logging output 2016-06-12 14:16:37 +02:00
Oscar Salvador Morillo Victoria 6875224788 Fix NPE when no build data found 2016-06-12 14:16:37 +02:00
omorillo aed5b88cf6 Merge pull request #353 from jenkinsci/create-pull-request-template
Create pull request template #351
2016-06-11 09:29:58 +02:00
omorillo 5aff97da35 Create pull request template #351
Most pull request submitters do not read the _Contribution to the Plugin_
section containing information aiming at improving the quality of the plugin
and facilitating its maintenance. This template should point the submitters
to that section when submitting a pull request.
2016-06-11 09:27:36 +02:00
omorillo 86b974ef4f Merge pull request #352 from jenkinsci/fix-link-to-section-in-readme
Readme: Fix missing link to section 'Contributing to the Plugin'
2016-06-11 09:09:57 +02:00
Oscar Salvador Morillo Victoria da44d6742d Readme: Fix missing link to section 'Contributing to the Plugin' 2016-06-11 08:33:38 +02:00
omorillo 2af90cae38 Merge pull request #350 from team-supercharge/ignoreMacMetadata
Ignore Mac metadata file
2016-06-10 12:02:39 +02:00
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