Skip to content

apolloclark/py-jenkins-ci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PyJenkinsCI

=========

PyJenkinsCI is a test Jenkins Continuous Integration (CI) for Python projects, compatible with Mac OSX and Ubuntu systems. This project runs standard code quality checks, and a JMeter stress performance test. This project should not be deployed into production!!! It is for demonstration and learning uses only.

<iframe width="560" height="315" src="https://www.youtube.com/embed/WJb1U4mlK7s" frameborder="0" allowfullscreen></iframe>

Run test project

Video

https://www.youtube.com/watch?v=WJb1U4mlK7s

To Do:

  • add Gauntlt
  • add Windows Host support
  • add Selenium, WebDriver, and Protractor
  • add Snort
  • add Nagios









Add Another Jenkins Project

If you would like to add your own project, here are the steps to take:

Create New Project

  • Item name: discover-flask-vagrant
  • Freestyle Project

Source Code Management

Build

  • "Add build step"
  • Execute shell
  • Command: "sh /vagrant/build.sh"

Post-build Actions

Report Violations

  • pylint: **/pylint.out

Publish JUnit test result report

  • Test report XMLs: **/nosetests.xml

Public Cobertura Coverage Report

  • Cobertura xml report pattern: **/coverage.xml

Publish SLOCCount analysis results

  • SLOCCount reports: **/sloccount.sc

Publish Performance test result report

  • Add a new report > JMeter
  • Report files: **/jmeter.jtl

Save

Update pathways in build.sh

Add "/www/run_tests.sh" script to project

Build Now

Enjoy the show!

References

About

Jenkins Continuous Integration server for Python projects, using Vagrant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors