Marcel Telka
2024-03-31 2ba18872f5c70e96d18c8760e6c835c39eb2caca
commit | author | age
1018e3 1 # Incremental builds
2
3 oi-userland supports incremental builds. They can be activated by setting the **BASS_O_MATIC_MODE** environment variable to _incremental_.
4
5 ## Implementation
6 Implementation is rather very simple and relies on a fact that every time a component is modified, the Makefile has to be changed and commited. For detecting changes we rely on _git_ and we try to guess the initial commit to look at. By default we scan the **GIT_PREVIOUS_SUCCESSFUL_COMMIT** environment variable (set by default in Jenkins environments): if the variable is not found, bass-o-matic defaults to 'HEAD~1'.