Skip to content
Snippets Groups Projects
Commit 06e6cd50 authored by Drew Blessing's avatar Drew Blessing Committed by Robert Speicher
Browse files

Fix Jenkins CI parameters

parent 5dc6dda8
No related branches found
No related tags found
No related merge requests found
v 8.0.5
- "Multi-project" and "Treat unstable builds as passing" parameters for
the Jenkins CI service are now correctly persisted.
v 8.0.4
- Fix multi-project setup for Jenkins
 
Loading
Loading
Loading
Loading
@@ -9,7 +9,8 @@ class Projects::ServicesController < Projects::ApplicationController
:note_events, :send_from_committer_email, :disable_diffs, :external_wiki_url,
:jira_issue_transition_id,
:notify, :color,
:server_host, :server_port, :default_irc_uri, :enable_ssl_verification]
:server_host, :server_port, :default_irc_uri, :enable_ssl_verification,
:multiproject_enabled, :pass_unstable]
# Authorize
before_action :authorize_admin_project!
before_action :service, only: [:edit, :update, :test]
Loading
Loading
Loading
Loading
@@ -52,7 +52,7 @@ def fields
{ type: 'checkbox', name: 'multiproject_enabled', title: "Multi-project setup enabled?",
help: "Multi-project mode is configured in Jenkins Gitlab Hook plugin." },
{ type: 'checkbox', name: 'pass_unstable', title: 'Should unstable builds be treated as passing?',
help: 'Unstable builds will be treated as passing.'}
help: 'Unstable builds will be treated as passing.' }
]
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment