+require_relative "#{ENV['CCI_SRC']}/lib/assign-account-email"
require_relative an absolute path?
=> ../lib/xxx
如果只是本container用到的lib, 就全部放在自己目录下吧。 以免别人看了晕掉。
require_relative "lib/xxx"
OK, I will mv the files to mail-robot/lib/
Thanks, Luan Shengde
Thanks, Fengguang
+require_relative "#{ENV['CCI_SRC']}/lib/assign-account-fail-eamil" +require_relative "#{ENV['CCI_SRC']}/lib/apply-jumper-account" +require_relative "#{ENV['CCI_SRC']}/lib/gitee-commit-url-check" +require_relative "#{ENV['CCI_SRC']}/lib/parse-apply-account-email" +require_relative "#{ENV['CCI_SRC']}/lib/assign-account" +require_relative "#{ENV['CCI_SRC']}/lib/mail-robot"
+MAILDIR = ENV['MAILDIR'] +JUMPER_HOST = ENV['JUMPER_HOST'] || 'api.compass-ci.openeuler.org' +JUMPER_PORT = ENV['JUMPER_PORT'] || 29999 +SEND_MAIL_PORT = ENV['SEND_MAIL_PORT'] || 49000
+monitor_new_email("#{MAILDIR}/new", "#{MAILDIR}/cur")
2.23.0