running all builds on jenkins

[email protected] (Daniel Convissor) Fri, 13 Jan 2012 12:41:18 -0500
Newsgroups php.pear.qa
Message-ID <[email protected]>
Hi Folks:

An update on what I've been doing on the Jenkins on test.pear.php.net.

There is now a Jenkins view named "Known Good."  This contains all
packages that have passing builds under PHP 5.3.

So now I just installed the latest PHP 5.4 from an SVN checkout to make
sure the Known Good items pass under PHP 5.4.

Here is a script for getting Jenkins to run all packages.  To execute
it, log in to Jenkins, go to "Manage Jenkins," then into the
"Script Console," paste the following in, and then click "Run."

import hudson.model.*;
activeJobs = hudson.model.Hudson.instance.items.findAll
	{job->job.isBuildable()}
cause = new hudson.model.Cause.RemoteCause
	("test.pear.php.net", "build all script")
activeJobs.each{run->run.scheduleBuild(cause)}

[The code above has line breaks in it for readability, I don't know if
that'll be kosher in the script box or not.  Adjust if necessary.]

We'll see how we do under PHP 5.4...

Thanks,

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409