This is Jenkins test results data processor for GAIA analytics. It is based on "gaiaadm/result-processing" Docker image. It processes data format from http://{jenkins-host}:{port}/job/{jenkins-job}/{job-id}/testReport/api/json
Execute:
docker build -t gaiaadm/jenkins-tests-processor --build-arg http_proxy=$http_proxy --build-arg https_proxy=$https_proxy .
Execute:
- docker run -d -e AMQ_USER="admin" -e AMQ_PASSWORD="mypass" -v "/tmp:/upload" --link rabbitmq:amqserver --link mgs:metricsgw --name jenkins-tests-processor gaiaadm/jenkins-tests-processor
Note that for development it is recommended to mount a local directory containing result processor directory to /src/processors or mount the processor directory into /src/processors/{processorName}
Executing tests:
- nosetests --with-xunit or
- python -m unittest discover -s tests -v