Little how-to configure the Jenkins CI job, to run one node project with Karma Runner v0.12 and load xml report generate by Karma jUnit Report v0.2.2
-
Must have Git installed
-
jenkins.war - Jenkins CI
-
Must have Java installed
-
One java web server to deploy and run jenkins.war - I chose the Apache Tomcat to run locally
-
-
Docker
-
Must have Docker installed
docker pull jenkinsci/jenkins
-
-
Jenkins plugins
- Must have Git plugin installed on Jenkins
-
tools/karma-configs/options.js - gerenal Karma configs
-
CI flow
-
npm test - execute environment setup and then execute gulp ci flow