You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've got a Phoenix project where in the mix assets.deploy phase we copy a couple of files in the windows build using basically this line:
"cmd robocopy a b /MIR"
This is working fine when being executed manually (i.e. we've got a build.bat script), i.e. logged into the machine, running a cmd session, running the bat file. However if we execute this via Jenkins, where the same computer that we've used manually is running as a Jenkins slave, this will fail with an error:
After trying around a bit I stumbled upon this, which has the same error when compiling argon2_elixir (which was happening with us as well, but an update of elixir_make solved the issue):
Trying out that fix suggested by @josevalim by modifying the line mix.exs solved this problem:
"cmd cscp 65001 & robocopy a b /MIR"
So I assume that in mix there is a very similar line somewhere?
Sadly it's hard to reproduce, since you need to setup a Jenkins master server, and a Jenkins slave as well to trigger this, so I hope this information is enough to find the issue...
Happy to help if you need more info!
Expected behavior
The line should be executed without an error
The text was updated successfully, but these errors were encountered:
Elixir and Erlang/OTP versions
Erlang/OTP 25 [erts-13.0.4] [source] [64-bit] [smp:12:12] [ds:12:12:10] [async-threads:1]
Elixir 1.17.3 (compiled with Erlang/OTP 25)
Operating system
windows 11 home
Current behavior
Hi all
We've got a Phoenix project where in the
mix assets.deploy
phase we copy a couple of files in the windows build using basically this line:"cmd robocopy a b /MIR"
This is working fine when being executed manually (i.e. we've got a
build.bat
script), i.e. logged into the machine, running acmd
session, running the bat file. However if we execute this via Jenkins, where the same computer that we've used manually is running as a Jenkins slave, this will fail with an error:After trying around a bit I stumbled upon this, which has the same error when compiling argon2_elixir (which was happening with us as well, but an update of
elixir_make
solved the issue):#13637
Trying out that fix suggested by @josevalim by modifying the line
mix.exs
solved this problem:"cmd cscp 65001 & robocopy a b /MIR"
So I assume that in mix there is a very similar line somewhere?
Sadly it's hard to reproduce, since you need to setup a Jenkins master server, and a Jenkins slave as well to trigger this, so I hope this information is enough to find the issue...
Happy to help if you need more info!
Expected behavior
The line should be executed without an error
The text was updated successfully, but these errors were encountered: