Two ways to react on the Electron ‘close’ event

I have an Electron application that needs to save some data when it’s closed by the user (e.g. just after the user clicked on the “Close” button). For this example, we want to store the resolution (width and height of the application in pixels) to a config file. The next time, the application starts, these values should be read and the application resized accordingly.

Read more

Build a Plugin for Jenkins (1)

Jenkins is one of the well-known open source automation servers out there. It allows you to build, deploy and automat your project. It is extensible, meaning you can write your own plugin for your special use case. However, the lack of documentation and working examples makes it suprisingly difficult to build your own plugin. I went through this tidious process myself. This step-by-step guide hopefully helps you in building your own Jenkins plugin.

Read more

1 2 3