[x] double check about released master builds and keep forever
[x] add the pr:keepallbuilds label
This PR upgrades the jenkins shared library to 0.27.0, here is a very condensed changelog for the last few versions.
0.22: pip version parsing
0.23: improve pr labels/added createVenv
0.24: runVS improvement
0.25: default to nfs mounts over sshfs
0.26: better build discarding
This PR introduces/updates a method for automatically deleting Jenkins builds after a certain time/number. This is needed so that Jenkins disk does not forever grow.
Please understand that THIS IS A DESTRUCTIVE CHANGE and once merged will permanently delete old builds so please come forward with any concerns over the settings chosen if you have any.
Single builds can be kept using the "keep this build forever" button on Jenkins. We suggest using this to tag builds that releases have been made from.
We also introduced the PR label pr:keepallbuilds, this will override the "30" build limit for specific PRs.
PS I have also opted to use this opportunity to add the timestamps option to jobs that do not already employ it. This makes it easier to diagnose any future Jenkins issues.
I've also opted to do any quick tidying of the Jenkinsfile if it's obvious to me.
pr:keepallbuilds
labelThis PR upgrades the jenkins shared library to 0.27.0, here is a very condensed changelog for the last few versions.
0.22: pip version parsing 0.23: improve pr labels/added createVenv 0.24: runVS improvement 0.25: default to nfs mounts over sshfs 0.26: better build discarding
This PR introduces/updates a method for automatically deleting Jenkins builds after a certain time/number. This is needed so that Jenkins disk does not forever grow.
Please understand that THIS IS A DESTRUCTIVE CHANGE and once merged will permanently delete old builds so please come forward with any concerns over the settings chosen if you have any.
We will use the buildDiscarder Jenkinsfile option to configure this using the xmosDiscardBuildSettings function.
Here is a link to the confluence page going into more detail about justification and usage.
The short version is:
Please comment if you think this is unsuitable.
Overriding
Single builds can be kept using the "keep this build forever" button on Jenkins. We suggest using this to tag builds that releases have been made from.
We also introduced the PR label
pr:keepallbuilds
, this will override the "30" build limit for specific PRs.PS I have also opted to use this opportunity to add the timestamps option to jobs that do not already employ it. This makes it easier to diagnose any future Jenkins issues. I've also opted to do any quick tidying of the Jenkinsfile if it's obvious to me.