Commit Graph

583 Commits

Author SHA1 Message Date
Robin Müller 783b0420a0 Allow also UsernamePasswordCredentials for the GitLabConnection 2016-06-25 15:11:19 +02:00
Robin Müller a2edfcc9d0 Add gitlabBefore and gitlabAfter environment variables for push events (Fixes #257) 2016-06-25 15:11:15 +02:00
Robin Müller b5c73fe5f7 Add possibility to skip builds for WIP MRs (Fixes #261) 2016-06-25 13:45:38 +02:00
Robin Müller 1acb7d0031 Add RevisionParameterAction also for rebuilding open MRs (Fixes #340) 2016-06-24 23:18:13 +02:00
Robin Müller 9386f05d09 Send build status pending before scheduling a build for jobs that have a GitLabCommitStatusPublisher configured (Fixes #317) 2016-06-24 23:17:16 +02:00
Robin Müller acf459ad5a Skip build if the last and not the first commit of a push hook contains [ci-skip] (Fixes #306) 2016-06-23 22:58:38 +02:00
Robin Müller 11c67f91d8 Fix logging message string 2016-06-23 22:30:57 +02:00
Robin Müller 2b9f51c88e Restructure code for GitLab client generation for better readability 2016-06-23 22:30:57 +02:00
Robin Müller 851ec6cec3 Add functionality to configure a custom build name for the commit status updates (Fixes #362) 2016-06-23 22:30:57 +02:00
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