{jenkins-plugin-info:android-apk-size-watcher}
 

Watch over the changing size of your .apk file and fail your build once the change exceeds your specified threshold.

Post Build Action

The functionality is provided by the post build action 'Watch over the changing size of your .apk file'.



There you can specify the allowed size increase from build A to build B in megabytes. Should the increase
exceed the threshold, the build is marked as failed and a corresponding message is shown in the console.

Apk Size Watcher Plugin: Build Failed
Apk Size Watcher Plugin: The size difference between your last and latest .apk file exceeded the specified threshold of 1.5 megabytes.

There is also the possibility to specify a path to the directory of your .apk file, if you don't use the default one. The default one is app/build/outputs/apk.

Apk Size History

To further increase your monitoring capabilities the plugin adds a history to your job. There you can track the
size of your .apk file over time. Clicking on the data points allows you to directly jump to the responsible build.

Feedback

This is the very first plugin of the author, feel free to report any bug or inconvenience.

Feedback of any kind is very appreciated!

Version History

Version 1.0.1 (September 08, 2017)

Version 1.0 (August 29, 2017)