字符串拼接问题

This commit is contained in:
huang 2018-06-08 15:04:37 +08:00
parent 0de36058df
commit 26177f7154
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ class PullRequestsController < ApplicationController
identifier = @project.repository.try(:identifier)
logger.info("1111111111111111#{identifier}")
git_url = @gitlab_address.to_s+"/"+@project.owner.to_s+"/"+ identifier + "."+"git"
job_name = "pr-" + Time.now.to_i
job_name = "pr-" + "#{Time.now.to_i}"
# 如果分支有改动
if compare_pull_request(source_branch, target_project_id, target_branch)
if @project.try(:id).to_i == 4665