Commit Graph

563 Commits

Author SHA1 Message Date
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
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