[Pharo-users] [ANN] Jenkins: query Jenkins servers from Pharo

Damien Cassou damien.cassou at inria.fr
Mon Sep 21 09:55:21 EDT 2015


Hi,

just to let you know I extracted some code from the Launcher to query
Jenkins servers from Pharo.

With this project, you can write code like:

    | pillar zipArtifact | 
    
    pillar := JenkinsServer pharoContributions jobs detect: [ :job | job name = 'Pillar' ].
    
    zipArtifact := pillar lastSuccessfulBuild runs anyOne artifacts detect: [ :artifact | artifact name = 'Pillar.zip' ]
    
    ZnClient new url: zipArtifact url; downloadTo: 'Pillar.zip'

The (very simple) code is on github:

    https://github.com/DamienCassou/pharo-jenkins

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill




More information about the Pharo-users mailing list