Commit Graph

378 Commits

Author SHA1 Message Date
Daniel Brooks f99d3e1476 [maven-release-plugin] prepare for next development iteration 2015-03-24 10:15:52 -07:00
Daniel Brooks 81bbb49286 [maven-release-plugin] prepare release gitlab-plugin-1.1.16 2015-03-24 10:15:49 -07:00
bassrock 0054b9dc99 Merge pull request #60 from hsingh/use-job-from-trigger
Add more logging and pass project from trigger
2015-03-24 10:13:15 -07:00
bassrock 86d1e4a533 Merge pull request #59 from hsingh/remove-mergerecord-dependency
Fallback to using build parameters to find build when merge record is no...
2015-03-24 10:13:03 -07:00
Bernhard Kaszt fc493523b0 Fix buildOpenMergeRequests only fetching 20 merge requests from the project
* It now iterates trough all merge requests, not only the first 20
* It now fetches 100 instead of 20 per rest call (100 is max)
* It only fetches open merge requests now instead of all
2015-03-16 16:08:34 +01:00
Harpreet Singh d8b034fbaf Add more logging and pass project from trigger
Add more logging when build fails because we can't find the correct SCM
configuration. Also pass the project from the trigger into DescriptorImpl
instead of using whatever is in there. This seems to resolve a lot of issues
where DescriptorImpl has the incorrect project and is thrown off by non
git projects in jenkins.
2015-03-10 19:59:26 -04:00
Harpreet Singh 3c305b1b07 Fallback to using build parameters to find build when merge record is not
available.
2015-03-10 17:57:42 -04:00
Daniel Brooks 49f83ebacb [maven-release-plugin] prepare for next development iteration 2015-02-19 13:23:39 -08:00
Daniel Brooks 11391d23e0 [maven-release-plugin] prepare release gitlab-plugin-1.1.15 2015-02-19 13:23:35 -08:00
Daniel Brooks 66d62a4ec3 Adding a checkbox to ignore the filter branches because it seems like on every update Jenkins autoselects branches when we don't want it to 2015-02-19 13:15:01 -08:00
Daniel Brooks 89de1848f1 [maven-release-plugin] prepare for next development iteration 2015-02-03 10:11:37 -08:00
Daniel Brooks f538f172db [maven-release-plugin] prepare release gitlab-plugin-1.1.14 2015-02-03 10:11:33 -08:00
bassrock ba34756b83 Merge pull request #51 from kasper-f/lookupMergeBuildFromSHA1
Only build merge request when SHA1 has not been build before.
2015-02-03 10:08:57 -08:00
Kasper Fock 675bd8a268 Only build merge request when SHA1 has not been build before.
Added more fields to the merge request in order to get data about the source and target branch. and tha last commit.

Before a new build is scheduled for a merge request we will lookup if we already has build this merge request.

this should fix #50
2015-02-03 11:36:45 +01:00
kasperf 6b7eb9a6a2 Support for accepting merge request
Add support for accepting merge request when jenkins build is successful. This will fix issue #40
This require that the java-gitlab-api](https://github.com/timols/java-gitlab-api) version 1.1.8 or newer is released as it depend on the new accept feature in this library
2015-01-28 20:26:46 +01:00
Daniel Brooks 3669870aee [maven-release-plugin] prepare for next development iteration 2015-01-27 11:08:07 -08:00
Daniel Brooks f5e1dcf851 [maven-release-plugin] prepare release gitlab-plugin-1.1.13 2015-01-27 11:08:03 -08:00
bassrock cf0ae24a02 Merge pull request #48 from kasper-f/mergeRequestFromTargetRepo
Fixed #47 by changing to use the target repo id instead of the source id
2015-01-27 11:05:47 -08:00
kasperf 54d1c147b8 Fixed #47 by changing to use the target repo id instead of the source id. 2015-01-27 19:23:53 +01:00
Daniel Brooks 076b4f1ed8 [maven-release-plugin] prepare for next development iteration 2015-01-26 23:40:33 -08:00
Daniel Brooks 603029052a [maven-release-plugin] prepare release gitlab-plugin-1.1.12 2015-01-26 23:40:28 -08:00
Daniel Brooks db25c2c934 Fixing release 2015-01-26 23:39:54 -08:00
bassrock 8a9468afeb Merge pull request #46 from DABSquared/develop
Develop
2015-01-26 23:35:14 -08:00
bassrock 543366ac35 Merge pull request #36 from kasper-f/locate_build_by_data_from_git_plugin
Locate build by data from git plugin
2015-01-26 23:34:53 -08:00
Daniel Brooks 656b144ced Fixing the maven release 2015-01-26 23:18:39 -08:00
Daniel Brooks 4f05de69a2 [maven-release-plugin] prepare for next development iteration 2015-01-26 22:55:26 -08:00
Daniel Brooks 4349fba547 [maven-release-plugin] prepare release gitlab-plugin-1.1.10 2015-01-26 22:55:21 -08:00
bassrock 3472c31422 Merge pull request #44 from kasper-f/addNoteOnMergeRequest
Add note on merge request when build completes
2015-01-26 22:52:37 -08:00
Daniel Brooks 994e617f74 [maven-release-plugin] prepare for next development iteration 2015-01-26 14:26:00 -08:00
Daniel Brooks 4b6f83eae9 Merge branch 'master' of github.com:jenkinsci/gitlab-plugin
Conflicts:
	pom.xml
2015-01-26 14:25:42 -08:00
Daniel Brooks 165faf4681 [maven-release-plugin] prepare release gitlab-plugin-1.1.9 2015-01-26 14:23:28 -08:00
Daniel Brooks 4476b0385c Updating Pom to use the mvn release 2.5.1 2015-01-26 14:20:58 -08:00
bassrock 934a04aa4e Merge pull request #43 from kasper-f/setBuildDescription
Set build description to build cause
2015-01-26 13:33:13 -08:00
bassrock 3ded0d61cd Merge pull request #45 from kasper-f/fixImageLoading
Fixed #28 "Build status icon toggling"
2015-01-26 13:31:09 -08:00
Kasper Fock cca3e95c20 Changed image delivery to server the file using IOutils to copy the stream instead of the serverFile method as it looks like the StamplerResponse otherwise will cache it. (Have also tried with a temporary redirect).
This implementation is inspired by the [embeddable-build-status-plugin](https://github.com/jenkinsci/embeddable-build-status-plugin)  [StatusImage](https://github.com/jenkinsci/embeddable-build-status-plugin/blob/master/src/main/java/org/jenkinsci/plugins/badge/StatusImage.java)
2015-01-26 15:56:48 +01:00
Kasper Fock 8ac394b64e Fixed #28 "Build status icon toggling" by adding a flush of the request after the image is served 2015-01-22 11:47:45 +01:00
Kasper Fock 3e23ec1fdb Add option to chose to leave a note in a merge request when the build completes with build status.
This is a candidate to fix #41
2015-01-22 10:24:59 +01:00
Kasper Fock 8b813b7697 Code cleanup 2015-01-21 09:30:17 +01:00
Kasper Fock cf13cbc89e Bug fixing and testing 2015-01-21 09:10:20 +01:00
Kasper Fock cb1103d84e Add the option to select whatever the jenkins job view name should be set to the build cause (GitLab Merge Request #XX or GitLab Push ####### by Author)
This is a candidate to fix issue #39
2015-01-20 12:13:45 +01:00
Dimitris Stafylarakis df81c95b13 [maven-release-plugin] prepare for next development iteration 2014-12-30 19:10:59 +01:00
Dimitris Stafylarakis 826c59ad31 [maven-release-plugin] prepare release gitlab-plugin-1.1.7 2014-12-30 19:10:55 +01:00
Dimitris Stafylarakis 5af24665a2 add packaging tag to pom.xml 2014-12-30 19:09:37 +01:00
Dimitris Stafylarakis f7f8c63d6e [maven-release-plugin] prepare for next development iteration 2014-12-30 06:36:05 +01:00
Dimitris Stafylarakis f721e91640 [maven-release-plugin] prepare release gitlab-plugin-1.1.6 2014-12-30 06:36:01 +01:00
Dimitris Stafylarakis afb4130237 force maven-release-plugin to version 2.5 2014-12-30 06:35:04 +01:00
Dimitris Stafylarakis c2344ebd5e Bump to version 1.1.6 2014-12-30 06:11:01 +01:00
Dimitris Stafylarakis ce15760fc8 Bump to version 1.1.5 2014-12-28 23:31:02 +01:00
Dimitris Stafylarakis 9ee33217d4 Merge remote-tracking branch 'origin/master' into develop 2014-12-28 06:39:41 +01:00
kasperf 93e0fd34f8 Merge remote-tracking branch 'parent/develop' into locate_build_by_data_from_git_plugin 2014-12-22 00:35:40 +01:00