jiahuili430 commented on code in PR #5372:
URL: https://github.com/apache/couchdb/pull/5372#discussion_r1900206076
##########
mix.exs:
##########
@@ -85,20 +81,29 @@ defmodule CouchDBTest.Mixfile do
# Run "mix help deps" to learn about dependencies.
defp deps() do
- deps_list = [
+ deps1 = [
{:junit_formatter, "~> 3.0", only: [:dev, :test, :integration]},
{:httpotion, ">= 3.1.3", only: [:dev, :test, :integration], runtime:
false},
{:excoveralls, "~> 0.12", only: :test},
- {:b64url, path: path("b64url")},
- {:jiffy, path: path("jiffy")},
- {:jwtf, path: path("jwtf")},
{:ibrowse, path: path("ibrowse"), override: true},
{:credo, "~> 1.7.7", only: [:dev, :test, :integration], runtime: false}
]
+ extra_deps = [:b64url, :jiffy, :jwtf, :meck, :mochiweb]
+ deps2 = Enum.map(extra_deps, &{&1, path: path(&1)})
+
+ deps_list =
+ if System.get_env("CI") do
Review Comment:
```elixir
File.mkdir_p!(Path.dirname(build_ebin))
```
In Jenkins, [this
function](https://github.com/apache/couchdb/pull/5372/files#diff-dfa6f4ed74c90e5d4fda283d547d366586e690387289bcfd473e3fa5f9ace308R120)
can't create folders in `_build`, so it can't create a symbolic link to the
ebin folder of fabric/config. The [error
message](https://ci-couchdb.apache.org/job/jenkins-cm1/job/PullRequests/job/PR-5372/9/execution/node/88/log/)
is:
`13:19:19 /usr/bin/ln: failed to create symbolic link
'/home/jenkins/workspace/jenkins-cm1_PullRequests_PR-5372/_build/dev/lib/config/ebin':
No such file or directory`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]