Hi All,
I am new to Jenkins and I configuring it for python software with Pytest
and pylint (*In windows7 system*). I followed
http://www.alexconrad.org/2011/10/jenkins-and-python.html as reference.
Virtualenv builder's command
pip install pytest
pip install pytest-cov
pip install pytest-pep8
py.test --junitxml=testreport.xml --cov TestCiApp tests/ --cov-report xml
if add below command, then I am getting following error:
pylint --msg-template='{msg_id}:{line:3d},{column}: {obj}: {msg}' TestCiApp
> pylint.out
(or)
py.test --junitxml=testreport.xml --cov TestCiApp tests/ --cov-report xml
--pep8
(or)
pep8 TestCiApp > pep8_report.txt
I am getting error as "Virtualenv Builder" marked ad failure. Below is
output in the console for pylint:
C:\Jenkins\jobs\TestCiApp\workspace>pylint
--msg-template='{msg_id}:{line:3d},{column}: {obj}: {msg}' TestCiApp
1>pylint.out
No config file found, using default configuration
C:\Jenkins\jobs\TestCiApp\workspace>exit 21
Build step 'Virtualenv Builder' marked build as failure
Skipping Cobertura coverage report as build was not UNSTABLE or better ...
Recording test results
Finished: FAILURE
Could anyone help me to solve this..
Thanks and Regards,
Sathishkumar D
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.