Project is not present in job-workspace #1821
Filip Strajnar opened 2 years ago

I'm using shell executor (Server Shell Executor as per https://docs.onedev.io/concepts#job-executor). Workspace does not contain my projects, even though as per https://docs.onedev.io/concepts#job-workspace , repository is supposed to be copied into it. Below is the log, where the script executed simply runs ls -la to prove the workspace is empty, even though I expect my repository to be present.

13:12:47 Pending resource allocation...
13:12:47 Executing job (executor: shell-executor, agent: ***)...
13:12:47 Downloading job dependencies...
13:12:47 Running step "LS"...
13:12:47 total 8
13:12:47 drwxr-xr-x 2 root root 4096 Mar 27 14:12 .
13:12:47 drwxr-xr-x 4 root root 4096 Mar 27 14:12 ..
13:12:47 Step "LS" is successful (0 seconds)
13:12:48 Job finished
1/1
Type
Question
Priority
Normal
Assignee
Labels
No labels
Issue Votes (0)
Watchers (3)
Reference
OD-1821
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover