打印调用drone创建用户接口日志

This commit is contained in:
moshenglv 2021-01-04 09:49:42 +08:00
parent 1108b298f0
commit 4aae60f3d8
1 changed files with 1 additions and 0 deletions

View File

@ -172,6 +172,7 @@ module Ci::CloudAccountManageable
}
#创建drone用户
result = Ci::Drone::API.new(trustie_drone_config[:admin_token], cloud_account.drone_url, nil, nil, createUserParams).create_user
logger.info "[drone] drone_create_user result: #{result}"
result['login'] == cloud_account.account ? true : false
elsif
logger.info "[drone] drone_oauth_user url: #{url}"