Thanks to visit codestin.com
Credit goes to github.com

Skip to content

rpetrenko/test-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Design notes

  • jobs that are building should never enter TR database

create python virtualenv

todo again

install mondgodb-server

...

export currrent dir as python path

cd test-reporter
export PYTHONPATH="${PYTHONPATH}:."
export SECRET_KEY="some__secret__key"

start report server

python server/app.py --host 0.0.0.0 --port 5000

navigate to

http://ip:5000/api

use populate DB script to start off

# drop DB
python server/db/fetch_jenkins_info.py -D

# populate DB

Notes

  • don't fetch builds that are not complete (still running)

Labels

For labels the following keywords predefined:

  • BUILD_ARTIFACT_API
  • BUILD_INFO_API

Test definitions, used to organize test results

  • Create definition yaml file: see example-test-definitions.yaml
  • Convert yaml to json
python -c "import yaml,json,pprint;pprint.pprint(json.loads(json.dumps(yaml.load(open(\"fname.yaml\").read()))))"

About

Test Reporter for multiple Jenkins sites

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors