Dmitriy Zaporozhets
5ace25cf20
Merge branch 'ee_fix_jenkins_status_check' into 'master'
...
EE - fix jenkins status check
When using Jenkins CI via the `JenkinsService` class, GitLab queries Jenkins for build status of a specific git commit shasum. This check however is done in an error prone way and fails for Jenkins jobs with multiple modules. Please note the three bubbles at the bottom of this screenshot: http://i.imgur.com/cptQdOG.png
This MR changes the checking code to make use of a HTML parser and selects the element of interest via its xpath. It was manually tested against Jenkins version 1.554 (LTS release as of today) with both maven and freestyle type jobs.
2014-07-14 09:35:15 +00:00
Dmitriy Zaporozhets
4ff1fc35d4
Remove attr_accessible from EE only models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-11 14:38:56 +03:00
Dmitriy Zaporozhets
a74b66cdee
Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into upstream-ce
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
Conflicts:
app/models/group.rb
app/models/project.rb
features/steps/shared/project.rb
2014-07-10 23:43:42 +03:00
Marvin Frick
9089a5d15b
changes the check for Jenkins_CI status
...
Instead of plaintext http response body reading, this service now checks for a value at a specified xpath in the document.
2014-07-08 10:37:16 +02:00
Dmitriy Zaporozhets
04516027df
Project services to strong params
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-26 14:49:09 +03:00
Dmitriy Zaporozhets
766af5838f
Merge branch 'add_aborted_status' into 'master'
...
Jenkins Service - Add aborted status
Currently, Jenkins service will show "pending" build status even if the job has been aborted. This simple change allows the CI status to recognize an aborted status and mark it as a failure.
2014-06-10 16:25:40 +00:00
Drew Blessing
f6c8c6aa01
Recognize aborted job
2014-06-10 11:04:32 -05:00
Drew Blessing
f1e3896334
Fix Jenkins Auth
2014-06-10 08:41:35 -05:00
Dmitriy Zaporozhets
a18ae13e98
Backport CI service refactoring from EE
...
It allows easier contribution of different CI services
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-28 11:35:43 +03:00
Dmitriy Zaporozhets
90342c9e9e
Add help section for services
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-15 11:28:01 +03:00
Dmitriy Zaporozhets
afe1ff413d
Specify project URL for Jenkins service
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-15 11:20:25 +03:00
Dmitriy Zaporozhets
cce27a6a00
Add parent CiService class for easy add of new services
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-15 11:06:17 +03:00
Dmitriy Zaporozhets
e6d2c02e67
Dirty implementastion of MR build status for Jenkins
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-15 10:34:35 +03:00
Dmitriy Zaporozhets
84b355077f
Add Jenkins CI service
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-14 16:57:31 +03:00
Marin Jankovski
92917d89ee
Add needed spaces.
2014-05-14 09:45:40 +02:00
Marin Jankovski
e2d4ee91bd
Add tests and documentation for jira service.
2014-05-13 13:48:55 +02:00
Marin Jankovski
e3f736d258
Add Jira service.
2014-05-13 12:12:16 +02:00
Dmitriy Zaporozhets
36f861f1b1
Re-annotate models
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-09 15:05:03 +03:00
Federico Ravasio
6a9eb4b231
Improved Slack integration with message attachments.
2014-04-06 11:57:48 +02:00
Andrea Usuelli
d21ad74146
Changed the notification sender username to GitLab in Slack Notifier
2014-03-26 10:58:51 +01:00
Dmitriy Zaporozhets
1921a934a9
Add room placeholder for Slack integration
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-03-19 14:42:13 +02:00
Federico Ravasio
e3fc01b3ea
Added Slack service integration.
2014-03-18 18:54:30 +01:00
Nick Huanca and Dmitriy Zaporozhets
d02e129a54
added verify false on gitlab_ci integrations
...
For those of us running self-signed in gitlab-ci it generates 500s SSL_verify errors if you don't have this.
2014-03-05 13:23:44 +02:00
Binsztock Rémy and Olivier Gonzalez
e7382de108
Add Gemnasium Service for Gitlab
...
Conflicts:
db/schema.rb
2014-02-21 16:25:22 +01:00
Samuel D. Leslie
a5c62585a9
Fix spelling of "GitLab" in HipChat service
...
Pedantic, but it frustrates OCD people like myself :)
2014-02-12 18:27:00 +11:00
Sytse Sijbrandij
05eb618548
Merge branch 'hipchat-remove-hash' of /mnt/ebs/repositories/Tenzer/gitlab-ce
2014-01-26 15:22:13 +00:00
Carlos Paramio
b373158077
Project name was hardcoded (oops)
2014-01-24 08:42:24 +01:00
Jeppe Toustrup
6cd745c2f7
Removed hash from "<user> #pushed to branch..." Hipchat notification
2014-01-14 10:57:10 +01:00
Dmitriy Zaporozhets
6ac73f45f0
Move EmailOnPush logic to async worker
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-18 13:42:12 +02:00
Dmitriy Zaporozhets
5f85d6d1ce
Better description to EmailsOnPush service
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-17 16:31:12 +02:00
Dmitriy Zaporozhets
074efd8fd5
Email on push: dont send email if new branch was pushed or branch was removed
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-17 16:20:45 +02:00
Dmitriy Zaporozhets
d550933907
Add new method to mailer for deliver emails with push info
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-17 14:45:55 +02:00
Dmitriy Zaporozhets
2428a0b2dd
Add project_services dir to autoload path
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-17 12:58:44 +02:00
Dmitriy Zaporozhets
86a8796b13
Create EmailsOnPushService model
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-17 12:42:40 +02:00
Dmitriy Zaporozhets
b90cbfd21e
Move project services models to own subdirectory
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2013-12-17 12:20:36 +02:00