Skip to content
This repository has been archived by the owner. It is now read-only.

Can't automatically build #6

Closed
ghost opened this issue Nov 14, 2016 · 2 comments
Closed

Can't automatically build #6

ghost opened this issue Nov 14, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Nov 14, 2016

Per JIRA

Initiating a build via documentation at https://docs.google.com/document/d/1OSnASvMxbCm3GXXkJd46zGzphk4fv-tpak7RK-czCy8/edit results in build failure.
"ERROR: Failed to clean the workspace
java.io.IOException: Unable to delete '/home/centos/agent/workspace/docker/comanage-appliance/master'. Tried 3 times (of a maximum of 3) waiting 0.1 sec between attempts."

The issue is: logs are mounted as a volume, inside the container, logs are created as root, hence log files end up owned by root on appliance. Hence, Jenkins can't remove them.

@ghost
Copy link
Author

ghost commented Nov 14, 2016

I comment the COPY ./etc /etc in the docker file from master.
And I removed master directory in Jenkins worker centos home

@ghost
Copy link
Author

ghost commented Nov 15, 2016

The issue was solved with the last merge commit from PR

@ghost ghost closed this as completed Nov 15, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants