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
{{ message }}
Repository navigation
[Bash2.0] Docker runner: .Commands runs as the image user in a root-owned working directory, so outputFiles fails #411
On the Docker task runner, the working directory is created as root:root but .Commands tasks run as the image user. On any non-root image the script cannot write to its own working directory, so outputFiles fails.
.Script tasks on the same image run as uid 0 and work fine.
This affects the groovy plugin's default image groovy:jdk21 (USER groovy, uid 1000).
Visuals and Reproducibility
Run the flow below.
Actual: uid=1000(groovy), dir drwxr-xr-x 2 root root, FileNotFoundException: out.txt (Permission denied), Captured 0 output file(s).
Expected: the file is written and captured.
The same write as a groovy.Script task on the same image logs UID=0 and captures 1 file. Adding user: "0" to the runner also makes this pass.
Activity
fix(groovy): default the Docker runner to root for Commands tasks (#414)
Pradumnasaraf commentedon Sep 3, 2026
Working. QA done ✅