添加日志格式
This commit is contained in:
parent
a4b01137f9
commit
631d1084a6
|
@ -219,6 +219,9 @@ class PullRequestsController < ApplicationController
|
|||
# connect jenkins
|
||||
client_jenkins = JenkinsApi::Client.new(:server_url => jenkins_address, :username => jenkins_username, :password => jenkins_password)
|
||||
@output = client_jenkins.job.get_console_output("#{job_name}", build_num = 0, start = 0, mode = 'html')["output"]
|
||||
@output2 = client_jenkins.job.get_console_output("#{job_name}", build_num = 0, start = 0, mode = 'text')["output"]
|
||||
logger.info("jenkins ###########################{@output}")
|
||||
logger.info("jenkins 1111111111111111111111111##{@output2}")
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue