jenkins连接
This commit is contained in:
parent
36e47fa8b1
commit
96e00f7bf3
|
@ -8,9 +8,14 @@ class QualityAnalysesController < ApplicationController
|
|||
end
|
||||
|
||||
def create
|
||||
user_name = User.find(params[:user_id]).try(:login)
|
||||
branch = params[:branch]
|
||||
language = params[:language]
|
||||
path = params[:path]
|
||||
@client = JenkinsApi::Client.new(:server_url => 'http://123.59.135.93:8890',
|
||||
:username => user_name,
|
||||
:password => '')
|
||||
|
||||
end
|
||||
|
||||
def index
|
||||
|
|
Loading…
Reference in New Issue