[ANN] Jenkins: query Jenkins servers from Pharo

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[ANN] Jenkins: query Jenkins servers from Pharo

Damien Cassou-2
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