Commit Graph

761 Commits

Author SHA1 Message Date
Robin Müller f23501e094 Add gitlabBuilds step to notify GitLab about pending builds within a pipeline job (Fixes #383) 2016-07-21 23:34:58 +02:00
Robin Müller 4e116ab2ee Add updateGitlabCommitStatus step for setting a custom build state for a commit 2016-07-21 23:34:52 +02:00
Robin Müller 2aa01588a3 Add null check while retrieving the Jenkins proxy configuration 2016-07-21 20:33:26 +02:00
Robin Müller 633a103cb9 If a global HTTP proxy is configured use this also as proxy for the gitlab API (Fixes #382) 2016-07-20 23:17:31 +02:00
Robin Müller 8eb7adb04c Fix errors during deserialization of GitLabPushTrigger config (Fixes #299) 2016-07-20 23:17:31 +02:00
Robin Müller 8da0bf2945 Add domain requirements for retrieving the API Token credentials 2016-07-12 17:02:43 +02:00
Robin Müller c0dcabe904 [maven-release-plugin] prepare for next development iteration 2016-07-09 18:44:27 +02:00
Robin Müller a1a86f2697 [maven-release-plugin] prepare release gitlab-plugin-1.3.0 2016-07-09 18:44:22 +02:00
Robin Müller 439abf285d Update README with instructions to fetch MRs from origin (Fixes #370) 2016-07-09 18:09:13 +02:00
Robin Müller 60b882b03a Adapt changelog 2016-07-09 18:02:19 +02:00
Robin Müller bbfd82536c Remove GitLab 7.14 related stuff from README as the next release will drop official support for this version 2016-07-09 17:55:11 +02:00
Robin Müller c8dd9b8605 Adapt README for multibranch pipeline jobs 2016-07-09 17:48:57 +02:00
Robin Müller d404a9dc4d Notify SCMSourceOwners about changes for GitLab Push Hooks (Fixes #298) 2016-07-09 17:15:02 +02:00
Robin Müller 1ea956f34c Set new version for next release 2016-07-09 17:15:02 +02:00
Robin Müller b810e595de Use the commitId of the GitLab hook for builds triggered by GitLab to update the commit status (Fixes #374) 2016-07-09 17:15:02 +02:00
Oscar Salvador Morillo Victoria 7b3e86c678 Updated dockerized GitLab version to 8.9.1 2016-06-28 14:38:33 +02:00
Robin Müller 2c6630920d [maven-release-plugin] prepare for next development iteration 2016-06-26 21:57:55 +02:00
Robin Müller 284fdc5cda [maven-release-plugin] prepare release gitlab-plugin-1.2.5 2016-06-26 21:57:48 +02:00
Robin Müller f150af0285 Update changelog 2016-06-26 21:08:29 +02:00
Robin Müller 57056db5d8 Only migrate GitLabConnections that have an apiToken set 2016-06-26 21:06:25 +02:00
Robin Müller 1007bb5db6 Use the GitLabApiToken instead of a StringCredentials in the migration of the GitLabConnections (Fixes #366) 2016-06-26 21:05:29 +02:00
Robin Müller 43cb300e2c Use getMarked revision of a build to get a merge build by SHA1 (Fixes #361) 2016-06-25 20:35:53 +02:00
Robin Müller 7d2a81ea0c Update GitLab Configuration section of the README (Fixes #360)
- for GitLab 8.1+ there is no need to enable the GitLab CI service for each forked repository this needs to be done for GitLab 7.14
2016-06-25 17:36:21 +02:00
Robin Müller a3ce79212d [maven-release-plugin] prepare for next development iteration 2016-06-25 16:15:18 +02:00
Robin Müller 7fd9df82f9 [maven-release-plugin] prepare release gitlab-plugin-1.2.4 2016-06-25 16:06:54 +02:00
Robin Müller 8798a188af Update changelog 2016-06-25 15:15:59 +02:00
Robin Müller 97e3b41e81 Remove .travis.yml
- builds take incredibly long on Travis-CI
- all of the last builds failed there was no output of the build for to much time
- the plugin is also build on the cloudbees Jenkins and failed never for the above reason
2016-06-25 15:11:19 +02:00
Robin Müller 336ffe705f Implement custom credentials for a GitLab API token (Fixes #332)
- this custom credentials implementation provides the possibility to use labels and description text that makes it easier to configure a GitLabConnection
2016-06-25 15:11:19 +02:00
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