hadithhouse / HadithHouseApi

Backend for Hadith House
http://www.hadithhouse.net/
MIT License
3 stars 3 forks source link

Build fails when Jenkins workspace path is sufficiently long #404

Closed rafidka closed 6 years ago

rafidka commented 6 years ago

If the path where the code is fetched in Jenkins is too long, the pip command of the virtual environment fails, causing the build to fail. This is a well known issue. See:

The issues are relatively old and it doesn't seem like there is a solution for it. But there is a working around, which is to call the pip module like:

python -m pip
rafidka commented 6 years ago

Problem fixed. Closing.