Update CI books written in Pillar

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

Update CI books written in Pillar

Yann Dubois
Hi !

In the last version of Pillar (4.0.x), Pillar don't manage the compilation cycle. So the ./compile.sh does not work anymore.

To update our CI, we use a Makefile (I advise you to use this too). You have an example on : https://github.com/pillar-markup/Pillar-Archetype/blob/master/welcome/Makefile .

In this Makefile, we create symbolic links pointing on the output directory. It causes "out of memory" on Jenkins. To solve this problem, you need to remove the symbolic links after the compilation. Personnaly, I had

find book-result -type l -exec unlink {} \;

at the end of the EnterprisePharo's Jenkins script.

Cheers, Yann