-
I ran a simple test on remote agent and it works fine. Please let me know steps to reproduce this issue, including os, how you deployed server and agent, the command to be tested, etc.
-
I guess some environment changed at your side, and it should NOT work even with 6.3.8 now.
Please login to your agent machine as the same OS user running agent process and run the script from terminal to see if it works.
-
I guess you are running OneDev as docker container. In this case, the server shell executor does not make sense, as all builds will run in same container as OneDev server without separation, and still can not access OS facility such as installed utility etc.
Please run your job to see which job executor it is using (will be printed at start of build log). If executed by a remote shell executor, same OS user means the OS user running the agent process (Agent successfully runs your job should be running on bare metal mode, as "run in container" is disabled in your job definition).
-
You may configure your job to run inside a container, or connect a bare metal installed agent to run job outside a container.
-
Previous Value Current Value Open
Closed
| Type |
Bug
|
| Priority |
Normal
|
| Assignee |
I could run these command in old version(6.3.8).
update to new version 7.3.5. I can't run command on remote server