From da60bb87bcbfcf099f720ee23a4d397afad9f297 Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 4 Aug 2017 22:02:20 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=90=AF=E5=AE=9E=E8=AE=AD=E7=9A=84?= =?UTF-8?q?=E6=97=B6=E5=80=99git=E5=9C=B0=E5=9D=80=E4=BC=A0=E9=80=81tpi?= =?UTF-8?q?=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/shixuns_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/shixuns_controller.rb b/app/controllers/shixuns_controller.rb index 16d962b08..8df09ca82 100644 --- a/app/controllers/shixuns_controller.rb +++ b/app/controllers/shixuns_controller.rb @@ -619,7 +619,7 @@ class ShixunsController < ApplicationController rep.type = "Repository::Gitlab" rep.save! login = User.find_by_mail("educoder@163.com").try(:login) - rep_url = Base64.encode64(git_shixun_url_ip shixun, login) + rep_url = Base64.encode64(git_myshixun_url_ip(myshixun, myshixun.try(:user_id))) uri = URI("#{shixun_tomcat}/bridge/game/openGameInstance") pipeLine = "#{shixun.script}" params = {jobNameForInstance: "myshixun_#{myshixun.id}", gameInfo: shixun.gameInfo, instanceGitURL:rep_url}