visualize your jenkins tests in nice charts (Ror)
Bacheca will help to analyze in deep tests. At moment is under development, feel free to contribute at any time.
Feel free to take a look on milestones to see what is planed https://github.com/MalloZup/bacheca/milestones
Your Jenkins jobs need to export tests_results in junit format, otherwise bacheca cannot fetch results. Currently bacheca support only junit, which is de-facto jenkins-standard.
cd bacheca
touch config/credentials_jenkins.yml
here is how it should like the credentials_jenkins.yml
server_url: 'my_beautiful_jenkins_server.it'
username: 'somename',
password: 'secret password'
(As password you can use a jenkins token.)
There is already a bacheca/config/jobs_jenkins.yml
file.
Adapt the array with your jenkins jobs.
an example:
jenkins_jobs: ["manager-3.1-cucumber", "saltstack-cooljobjenkins", "space-job", "bachecajob"]
Ensure that your jenkins user has access to the jobs
You can now run the app with or without docker
You can have a look at the Dockerfile and have bacheca running in container!
docker build -t bacheca .
docker run -it -p 9000:3000 bacheca
Then visit http://localhost:9000/
! up and runnning!
gem install rails
run cd bacheca
and bundle install
Feed and create database schemas with
For the first initialization, you can run manually:
rake db:migrate
rake db:seed
rails server
This project is using whenever gem, so you can activate the service for getting new data every hour with:
The config file for whenever is in config/schedule.rb
whenever --update-crontab
Whenever is already running in container mode.
cd bacheca
rails server