diff --git a/README.md b/README.md index 51f6958..d4219e5 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,28 @@ mozplatformqa-jenkins-config ============================ Configuration files for jenkins configuration + +Regenerating jobs +----------------- + +WebRTC and MSE Web Platform jobs are autogenerated. You need to install python-jenkins first: + + +pip install python-jenkins + + +Then, you can regenerate the jobs: + + +python generate_webrtc_jobs.py --template=webrtc-job-template.xml --table-csv=WebRTC_Test_Matrix.csv --jenkins-host=http://pf-jenkins.qa.mtv2.mozilla.com:8080 +python generate_mse_jobs.py --template=mse-web-platform-job-template.xml --table-csv=MSE_Web_Platform_Test_Matrix.csv --jenkins-host=http://pf-jenkins.qa.mtv2.mozilla.com:8080 + + +You should then enable the jobs: + + +python enable_jobs.py --regexp "^webrtc-.*$" --jenkins-host http://pf-jenkins.qa.mtv2.mozilla.com:8080 +python enable_jobs.py --regexp "^mse-web-platform.*$" --jenkins-host http://pf-jenkins.qa.mtv2.mozilla.com:8080 + + +Note: You should be careful when running this, as it could seriously mess up the running Jenkins instance.