0
respostas

Erro de build - FATAL: command execution failed

Esse erro esta estourando ao tentar subir o ambiente de dev, alguem consegue me dar um help?

Step 7/7 : CMD ["gunicorn", "to_do.wsgi:application", "--bind", "0.0.0.0:8000", "--workers", "3"]


 ---> Running in 9d06ddd3e9d8

Removing intermediate container 9d06ddd3e9d8

 ---> f16819dcae96

Successfully built f16819dcae96

Tagging built image with django_todolist_image_build:latest
Docker Build Response : f16819dcae96
Docker Build Done
[jenkins-todo-list-principal] $ cmd /c call /tmp/jenkins1499817344346610337.bat
FATAL: command execution failed
java.io.IOException: error=2, No such file or directory
    at java.lang.UNIXProcess.forkAndExec(Native Method)
    at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
    at java.lang.ProcessImpl.start(ProcessImpl.java:134)
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
Caused: java.io.IOException: Cannot run program "cmd" (in directory "/var/lib/jenkins/workspace/jenkins-todo-list-principal"): error=2, No such file or directory
    at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
    at hudson.Proc$LocalProc.<init>(Proc.java:253)
    at hudson.Proc$LocalProc.<init>(Proc.java:222)
    at hudson.Launcher$LocalLauncher.launch(Launcher.java:996)
    at hudson.Launcher$ProcStarter.start(Launcher.java:508)
    at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:144)
    at hudson.tasks.CommandInterpreter.perform(CommandInterpreter.java:92)
    at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:21)
    at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:808)
    at hudson.model.Build$BuildExecution.build(Build.java:199)
    at hudson.model.Build$BuildExecution.doRun(Build.java:164)
    at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:516)
    at hudson.model.Run.execute(Run.java:1889)
    at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
    at hudson.model.ResourceController.execute(ResourceController.java:100)
    at hudson.model.Executor.run(Executor.java:433)
Build step 'Execute Windows batch command' marked build as failure
Finished: FAILURE