-
-
Save ivaravko/3360966 to your computer and use it in GitHub Desktop.
Script to trigger several jobs in Mozmill CI for finding a regression range
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import jenkins | |
j = jenkins.Jenkins('http://qa-mb:8080') | |
branch = 'mozilla-central' | |
testrun = 'endurance' | |
builds = ['20120719030543', | |
'20120720030549', | |
'20120721030555', | |
'20120721041038', | |
'20120722030555', | |
'20120723030606', | |
'20120724030551', | |
'20120724071408'] | |
parameters = {'BUILD_TYPE': 'daily', | |
'ENTITIES': '20', | |
'ENV_PLATFORM': 'linux', | |
'ITERATIONS': '20', | |
'LOCALE': 'en-US', | |
'NODES': 'linux && ubuntu && 64bit', | |
'PLATFORM': 'linux', | |
'REPORT_URL': 'http://mozmill-crowd.blargon7.com/db/'} | |
job_name = '%s_%s' % (branch, testrun) | |
for b in builds: | |
parameters['BUILD_ID'] = b | |
print 'Triggering job: %s with %s' % (job_name, parameters) | |
j.build_job(job_name, parameters) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment