Skip to content
This repository was archived by the owner on Jan 25, 2022. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ No special options are required to execute the test on recent JRuby versions (su
## Development

Locally building:
- Download latest stable jruby tar
- Download latest stable jruby tar, recommended to be in 1.9 mode
-- `rvm install jruby-1.7.27 --1.9`
- Extract and add bin/ directory to your $PATH
- To install run:
-- `export GEM_HOME=~/.ruby/gems`
Expand All @@ -258,7 +259,7 @@ Locally building:
To test locally in Jenkins
- Download latest Jenkins distribution
- Extract and run `java -jar jenkins.war`
- Upload `pkg/gitlab-hook-nojenkinscommits.hpi` into Jenkins manual install interface
- Upload `pkg/gitlab-hook.hpi` into Jenkins manual install interface

Example post bodies are available on the [gitlab webhook page](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/web_hooks/web_hooks.md)
Example post bodies are available on the [gitlab webhook page](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/user/project/integrations/webhooks.md)

2 changes: 1 addition & 1 deletion jenkins-gitlab-hook.pluginspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Jenkins::Plugin::Specification.new do |plugin|
plugin.name = "gitlab-hook"
plugin.display_name = "Gitlab Hook Plugin"
plugin.version = '1.4.2'
plugin.version = '1.4.3'
plugin.description = 'Enables Gitlab web hooks to be used to trigger SMC polling on Gitlab projects'

plugin.url = 'https://wiki.jenkins-ci.org/display/JENKINS/Gitlab+Hook+Plugin'
Expand Down
2 changes: 1 addition & 1 deletion models/gitlab_notifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class GitlabNotifierDescriptor < Jenkins::Model::DefaultDescriptor
attr_reader :gitlab_url

def token
@token.get_plain_text
Secret.toString @token
end

def commit_status?
Expand Down