Ahh thank you.  I will make those changes.

- Josh

On Thu, Nov 7, 2019 at 8:37 AM Michael Shuler <[email protected]>
wrote:

> A very quick look at your site script and Dockerfile.ubuntu18.04 shows
> no $USER gymnastics, so everything done by docker will be owned by root.
> This is why it worked once and the jenkins user has no permission to
> manipulate the files on disk.
>
> Kind regards,
> Michael
>
> On 11/7/19 8:22 AM, Josh Fischer wrote:
> > Hi All,
> >
> > I'm trying to put together a jenkins job to build the static site for the
> > Heron project.  To prevent from needing install packages on the jenkins
> vm
> > I am executing the build in a docker container with volume mounted on top
> > of the projects directory tree.  On of the steps in the build process is
> to
> > install a virtual environment within the project directory to generate
> some
> > python docs.  After I ran the build once it will not run again.  It seems
> > that Jenkins cannot delete the pre-existing git repo now because of the
> > virtual environment file that was created during the build steps.  Can
> > someone please advise on how to move forward?  The full console logs are
> > at: https://builds.apache.org/job/heron-site/117/consoleFull
> >
> > Here are a few lines of output:
> >
> > jenkins.util.io.CompositeIOException: Unable to delete
> > '/home/jenkins/jenkins-slave/workspace/heron-site'. Tried 3
> >
> > .... left out for brevity ....
> >
> > java.nio.file.FileSystemException:
> >
> /home/jenkins/jenkins-slave/workspace/heron-site/website2/website/venv/include/python2.7:
> > Operation not permitted
> >
> >
> > - Josh
> >
>

Reply via email to