shell - How to automate build process using python 3.4 and jenkins? -
i havep python (v3.4) project on git repository , using jenkins server automate build process. created job in jenkins, job pulls new version of project git , execute 2 shell commands :
python setup.py build python setup.py install
in console log error : ....
nobounce.io 0.0.1 active version in easy-install.pth installing sample script /usr/local/bin error: [errno 13] permission denied: '/usr/local/bin/sample' build step 'execute shell' marked build failure finished: failure
what doing wrong ?
you're trying install software on server isn't allowed. one, don't have necessary permissions. , shouldn't anyway: imagine have 2 jobs create package (development , bug fixes last release). 1 find in /usr/local/bin/
? pretty random.
instead, should build egg other people can install , tell jenkins archive build result.
if have dependencies, should virtualenv
:
Comments
Post a Comment