I am using Jenkins to test a Python module nodepy that I develop. However, I get errors like the following:
File \"/var/lib/jenkins/jobs/NodePy/workspace/co
It turns out all I needed to do was follow the answer to this question in order to have Jenkins clone my repo into a subdirectory workspace/nodepy/
. Since Jenkins runs the build in workspace
, it then finds the package.
When I first did this, it somehow created an infinite recursion of nodepy/nodepy/nodepy/... directories. After I cleared out the workspace, this problem went away.